Command:/mapclick

From the wonderful RedGuides Wiki

This command is added by MQ2Map

Syntax Key
Notation Description
Text without brackets or braces Required items
<Text inside angle brackets> Placeholder for which you must supply a value
[Text inside square brackets] Optional items
Vertical bar (|) Separator for mutually exclusive items; choose one
{Text | inside | braces} Set of required items; choose one
Ellipsis () Items that can be repeated
Syntax /mapclick [left] [ list | <key[+key[...]]> clear ] <command>
Description Run a command when you click a spawn on a map.

Options

Option Description
left Specify left click. By default, right click is used.
list List all the special click commands
<key[+key[...]]> Key combination to use, in addition to the click. Options are ctrl, lalt, ralt, alt, shift. Join multiples with +
clear
<command> Any /command you like.

Examples

  • When holding down the left alt, shift and then right-clicking a spawn on the map, "/mycommand %i" will be executed.

/mapclick lalt+shift /mycommand %i

See also