Project

General

Profile

Menubar » History » Version 3

Per Amundsen, 08/26/2015 07:23 AM

1 1 Per Amundsen
_Added in 1.9.0_
2
3 3 Per Amundsen
*/menubar [-ad] [on|off|name] [text]*
4 1 Per Amundsen
5 2 Per Amundsen
Enables/disables Menubar. [[$menubar]] can be used to determine it's state.
6 1 Per Amundsen
7 3 Per Amundsen
*Switches*
8
9
-a - Add a new topmenu. (AdiIRC only)
10
-d - Delete a topmenu. (AdiIRC only)
11
12 1 Per Amundsen
If no parameter is defined, prints current Menubar visibility status.
13
14
*Parameters*
15
16
[on] - Enables Menubar.
17
[off] - Disables Menubar.
18 3 Per Amundsen
[name] - Name of a topmenu item to add or delete. (AdiIRC only)
19
[text] - Text for the new topmenu to add. (AdiIRC only)
20
21
*Example*
22
23
<pre>
24
; Setup a custom menu for the 'mymenu' topbar.
25
menu mymenu {
26
  Hello World:echo -ag Hello world
27
}
28
29
; Adda a new top menu named 'mymenu' with the text 'Top Menu Test'.
30
/menubar -a mymenu Top Menu Test
31
32
; Delete the topmenu named 'mymenu'.
33
/menubar -d mymenu
34
</pre>