Menubar » History » Revision 7

« Previous | Revision 7/28 (diff) | Next »
Per Amundsen, 08/30/2015 04:55 AM

Added in 1.9.0

/menubar [-adisht] [N|on|off|name] [name|text]

Enables or disables Menubar.

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

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


(AdiIRC only)
-a - Add a new topmenu.
-d - Delete a topmenu.
-i - Inserts a topmenu at position [N].
-s - Shows a hidden topmenu.
-h - Hides a topmenu.
-t - Changes the text of a topmenu.


[N] - Position to insert at when using -i. (AdiIRC only)
[on] - Enables Menubar.
[off] - Disables Menubar.
[name] - Name of a topmenu item to add/delete/modify. (AdiIRC only)

[text] - Text for the new topmenu to add/edit. (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

; Changes the text of the topmenu named 'mymenu' to 'Top Menu Test2'.
/menubar -t mymenu Top Menu Test2

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

Updated by Per Amundsen almost 9 years ago · 7 revisions

Also available in: PDF HTML TXT