Contextmenu (Slash Command): Difference between revisions

From Unofficial Homecoming Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 2: Line 2:
{{SlashCommandArticle|command=contextmenu|options=menu_num|note=Activate a context menu slot.}}
{{SlashCommandArticle|command=contextmenu|options=menu_num|note=Activate a context menu slot.}}


* This command is used to choose a menu option in various [[context menu]]s (such as {{slashcommand|petoptions}}, {{slashcommand|link_channel}}, {{slashcommand|popmenu}}, etc.)
* This command is used to choose a menu option in various [[context menu]]s.
* 1 is usually the first menu choice from the top, 2 = second menu choice, etc.  
* 1 is usually the first menu choice from the top, 2 = second menu choice, etc.  
* The /contextmenu command is not useful by itself, but when you use it in a bind or macro and combine it with a command to open a context menu, it actually works. Bind strings for context menus process from left to right.
* The /contextmenu command is not useful by itself, but when you use it in a bind or macro and combine it with a command to open a context menu, it actually works. Bind strings for context menus process from left to right.

Revision as of 06:13, 17 June 2022

Slash command

/contextmenu menu_num

Activate a context menu slot.

  • This command is used to choose a menu option in various context menus.
  • 1 is usually the first menu choice from the top, 2 = second menu choice, etc.
  • The /contextmenu command is not useful by itself, but when you use it in a bind or macro and combine it with a command to open a context menu, it actually works. Bind strings for context menus process from left to right.
  • The command can also select items in sub-menus.
  • In popmenus, the command interprets a divider as a menu choice.


Example

/petoptions$$contextmenu 2
/popmenu BAF$$contextmenu 2$$contextmenu 1

This last example would select menu item 2 and then sub-menu item 1.


Also