Menubar » History » Revision 17
« Previous |
Revision 17/28
(diff)
| Next »
Per Amundsen, 09/12/2015 06:34 PM
Added in 1.9.0
/menubar [on|off]
Enables or disables Menubar.
$menubar can be used to determine it's state.
If no parameter is defined, prints current Menubar visibility status.
Parameters
[on] - Enables Menubar.
[off] - Disables Menubar.
Added in 1.9.7
/menubar [-adishtio] [N] <N|name> <@popup> [text]
Adds or removes custom menu items to the Menubar.
AdiIRC only
Switches
-a - Add a new menu.
-d - Delete item named 'name' or the Nth item.
-i - Insert a menu at position [N].
-w - Show a hidden menu.
-h - Hide a menu.
-t - Change the text of a menu.
-o - Change the @popup menu associated with the menu.
Parameters
<N> - Position to insert or delete at when using -i/-d.
<N|name> - Name of a menu item to add/delete/modify or the Nth position to insert at when -i is used.
<@popup> - The @popup menu to associate with the menu.
Example
; Setup a custom menu for the 'mymenu' menu. menu @mymenu { Hello World:echo -ag Hello world Menu name:echo -ag Menu name is $menu } ; Adda a new menu named 'mymenu' with the text 'Top Menu Test'. /menubar -a mymenu @mymenu Top Menu Test ; Changes the text of the menu named 'mymenu' to 'Top Menu Test2'. /menubar -t mymenu Top Menu Test2 ; Delete the menu named 'mymenu'. /menubar -d mymenu
Updated by Per Amundsen about 9 years ago · 17 revisions