Menubar » History » Revision 3

Revision 2 (Per Amundsen, 02/12/2014 09:20 PM) → Revision 3/28 (Per Amundsen, 08/26/2015 07:23 AM)

_Added in 1.9.0_ 

 */menubar [-ad] [on|off|name] [text]* [on|off]* 

 Enables/disables Menubar. [[$menubar]] can be used to determine it's state. 


 -a - Add a new topmenu. (AdiIRC only) 
 -d - Delete a topmenu. (AdiIRC only) 

 If no parameter is defined, prints current Menubar visibility status. 


 [on] - Enables Menubar. 
 [off] - Disables Menubar. 
 [name] - Name of a topmenu item to add or delete. (AdiIRC only) 
 [text] - Text for the new topmenu to add. (AdiIRC only) 


 ; Setup a custom menu for the 'mymenu' topbar. 
 menu mymenu { 
   Hello World:echo -ag Hello world 

 ; Adda a new top menu named 'mymenu' with the text 'Top Menu Test'. 
 /menubar -a mymenu Top Menu Test 

 ; Delete the topmenu named 'mymenu'. 
 /menubar -d mymenu