Contextmenu (Slash Command): Difference between revisions

From Homecoming Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 4: Line 4:
* 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 (such as {{slashcommand|petoptions}}, {{slashcommand|link_channel}}, {{slashcommand|popmenu}}, etc.)
* 1 is usually the first menu choice from the top, 2 = second menu choice, etc. Depending on the context menu, the first menu choice might be a different number.
* 1 is usually the first menu choice from the top, 2 = second menu choice, etc. Depending on the context menu, the first menu choice might be a different number.
* The /contextmenu command is not functional by itself, but when you combine it with a command to open a context window in a bind or macro, it actually works. Bind strings for context menus process from left to right.
* The /contextmenu command is not useful by itself, but when you combine it with a command to open a context window in a bind or macro, it actually works. Bind strings for context menus process from left to right.
* The command can also select items in sub-menus.  
* The command can also select items in sub-menus.  
* In [[popmenu]]s, the command interprets titles and dividers as menu choices.
* In [[popmenu]]s, the command interprets titles and dividers as menu choices.

Revision as of 03:57, 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 (such as /petoptions, /link_channel, /popmenu, etc.)
  • 1 is usually the first menu choice from the top, 2 = second menu choice, etc. Depending on the context menu, the first menu choice might be a different number.
  • The /contextmenu command is not useful by itself, but when you combine it with a command to open a context window in a bind or macro, 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 titles and dividers as menu choices.


Example

/petoptions$$contextmenu 2


Also