# This toggles visibility of the Gaim buddy list by iconifying it if # it is visible and deiconifying it if it is iconified. It will also # pull the buddy list to your current desktop and page if it is not # currently visible. If you're using State 3 for something else, you # should modify accordingly. DestroyFunc ShowBlist AddToFunc ShowBlist + I All ("Gaim", "Buddy List", !CurrentPage) State 3 True + I All ("Gaim", "Buddy List", !State 3) Iconify + I All (State 3) MoveToDesk + I All (State 3) MoveToPage + I All (State 3, Iconic) Iconify + I All (State 3) State 3 False Key B A 4 Function ShowBlist