Project

General

Profile

Menubar » History » Revision 4

Revision 3 (Per Amundsen, 08/26/2015 07:23 AM) → Revision 4/28 (Per Amundsen, 08/26/2015 07:23 AM)

_Added in 1.9.0_ 

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

 Enables or disables Enables/disables Menubar.  

 [[$menubar]] can be used to determine it's state. 

 *Switches* 

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

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

 *Parameters* 

 [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) 

 *Example* 

 <pre> 
 ; 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 
 </pre>