Project

General

Profile

Menubar » History » Version 4

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