Showmenu » History » Version 4
Per Amundsen, 04/29/2018 12:50 AM
1 | 1 | Per Amundsen | _Added in 2.7_ |
---|---|---|---|
2 | |||
3 | 4 | Per Amundsen | */showmenu [-qnmcsuwa] [window|nick} [nick] [x y]* |
4 | 1 | Per Amundsen | |
5 | Shows the specified context-menu type for current active window or [window|nick]. |
||
6 | |||
7 | 4 | Per Amundsen | By default the menu opens relative to the current active [[Editbox Control|Editbox]]. |
8 | 1 | Per Amundsen | |
9 | The menu |
||
10 | |||
11 | *Switches* |
||
12 | |||
13 | -q - Show the Query menu. |
||
14 | -n - Show the Nicklist menu. |
||
15 | -m - Shows the Menubar menu. |
||
16 | -c - Shows the Channel menu. |
||
17 | -s - Shows the Status menu. |
||
18 | -u - Shows the specified @custom menu. |
||
19 | -w - Shows the Window menu. |
||
20 | 2 | Per Amundsen | -a - Shows the Menubar as a context menu. (while the context menu is open, the regular Menubar will be empty) |
21 | 1 | Per Amundsen | |
22 | *Parameters* |
||
23 | |||
24 | [window|nick} - Window or query nick to open the menu for. |
||
25 | [nick} - The Nicklist/Query nick to open the menu for. |
||
26 | 3 | Per Amundsen | [x y] - The X and Y position to open the menu at (relative to the associated window). |
27 | 1 | Per Amundsen | |
28 | *Example* |
||
29 | |||
30 | <pre> |
||
31 | ; Opens the channel menu for the channel #test at x y position 42 42. |
||
32 | /showmenu -c #test 42 42 |
||
33 | </pre> |