Project

General

Profile

Actions

Menubar » History » Revision 5

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


Added in 1.9.0

/menubar [-ad] [on|off|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.

Switches

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

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 9 years ago · 5 revisions

Also available in: PDF HTML TXT