Menubar » History » Version 19
Per Amundsen, 12/21/2015 12:11 AM
1 | 1 | Per Amundsen | _Added in 1.9.0_ |
---|---|---|---|
2 | |||
3 | 9 | Per Amundsen | */menubar [on|off]* |
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 | 1 | Per Amundsen | |
11 | 9 | Per Amundsen | *Parameters* |
12 | |||
13 | [on] - Enables Menubar. |
||
14 | [off] - Disables Menubar. |
||
15 | |||
16 | 18 | Per Amundsen | ----------------------------------------------------------------------------- |
17 | |||
18 | 12 | Per Amundsen | _Added in 1.9.7_ |
19 | |||
20 | 11 | Per Amundsen | */menubar [-adishtio] [N] <N|name> <@popup> [text]* |
21 | 9 | Per Amundsen | |
22 | 14 | Per Amundsen | Adds or removes custom menu items to the Menubar. |
23 | 9 | Per Amundsen | |
24 | 10 | Per Amundsen | _AdiIRC only_ |
25 | 9 | Per Amundsen | |
26 | 6 | Per Amundsen | *Switches* |
27 | |||
28 | 14 | Per Amundsen | -a - Add a new menu. |
29 | 15 | Per Amundsen | -d - Delete item named 'name' or the Nth item. |
30 | 16 | Per Amundsen | -i - Insert a menu at position [N]. |
31 | 19 | Per Amundsen | -s - Show a hidden menu. |
32 | 16 | Per Amundsen | -h - Hide a menu. |
33 | -t - Change the text of a menu. |
||
34 | -o - Change the @popup menu associated with the menu. |
||
35 | 1 | Per Amundsen | |
36 | 6 | Per Amundsen | *Parameters* |
37 | |||
38 | 9 | Per Amundsen | <N> - Position to insert or delete at when using -i/-d. |
39 | 14 | Per Amundsen | <N|name> - Name of a menu item to add/delete/modify or the Nth position to insert at when -i is used. |
40 | <@popup> - The @popup menu to associate with the menu. |
||
41 | 3 | Per Amundsen | |
42 | *Example* |
||
43 | 1 | Per Amundsen | |
44 | 3 | Per Amundsen | <pre> |
45 | 14 | Per Amundsen | ; Setup a custom menu for the 'mymenu' menu. |
46 | 9 | Per Amundsen | menu @mymenu { |
47 | 8 | Per Amundsen | Hello World:echo -ag Hello world |
48 | 3 | Per Amundsen | Menu name:echo -ag Menu name is $menu |
49 | } |
||
50 | |||
51 | 14 | Per Amundsen | ; Adda a new menu named 'mymenu' with the text 'Top Menu Test'. |
52 | 9 | Per Amundsen | /menubar -a mymenu @mymenu Top Menu Test |
53 | 7 | Per Amundsen | |
54 | 14 | Per Amundsen | ; Changes the text of the menu named 'mymenu' to 'Top Menu Test2'. |
55 | 7 | Per Amundsen | /menubar -t mymenu Top Menu Test2 |
56 | 3 | Per Amundsen | |
57 | 14 | Per Amundsen | ; Delete the menu named 'mymenu'. |
58 | 3 | Per Amundsen | /menubar -d mymenu |
59 | 1 | Per Amundsen | </pre> |