Project

General

Profile

Showmenu » History » Revision 5

Revision 4 (Per Amundsen, 04/29/2018 12:50 AM) → Revision 5/14 (Per Amundsen, 04/29/2018 12:50 AM)

_Added in 2.7_ 

 */showmenu [-qnmcsuwa] [window|nick} [nick] [x y]* 

 Shows the specified context-menu type for current active window or [window|nick]. 

 By default the menu opens relative to the current active [[Editbox Control|Editbox]]. 

 The menu 

 *Switches* 

 -q - Show the Query menu. 
 -n - Show the Nicklist menu. 
 -m - Shows the Menubar menu. 
 -c - Shows the Channel menu. 
 -s - Shows the Status menu. 
 -u - Shows the specified @custom menu. 
 -w - Shows the Window menu. 
 -a - Shows the Menubar as a context menu. (while the context menu is open, the regular Menubar will be empty) 

 *Parameters* 

 [window|nick} - Window or query nick to open the menu for. 
 [nick} - The Nicklist/Query nick to open the menu for. 
 [x y] - The X and Y position to open the menu at (relative to the associated window). 

 *Example* 

 <pre> 
 ; Opens the channel menu for the channel #test at x y position 42 42. 
 /showmenu -c #test 42 42 
 </pre>