Project

General

Profile

Actions

Menubar » History » Revision 3

« Previous | Revision 3/28 (diff) | Next »
Per Amundsen, 08/26/2015 07:23 AM


Added in 1.9.0

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

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

; 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

Updated by Per Amundsen over 8 years ago · 3 revisions

Also available in: PDF HTML TXT