Project

General

Profile

Menubar » History » Version 5

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 5 Per Amundsen
If no parameter is defined, prints current Menubar visibility status.
10
11 3 Per Amundsen
*Switches*
12
13
-a - Add a new topmenu. (AdiIRC only)
14 1 Per Amundsen
-d - Delete a topmenu. (AdiIRC only)
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>