Command:/mqtarget

From the wonderful RedGuides Wiki

This command is added by MacroQuest

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 /mqtarget [ clear | mycorpse | myself | <spawn search> ]
Description Adds the ability to target your corpse, yourself, and most importantly the result of a Spawn search. If you require the original /target without MacroQuest's interception, use /eqtarget.

Options

Option Description
With no option provided, will target you.
clear Clears your current target
id # Targets a specific ID
mycorpse Your own corpse (nearest)
myself Target yourself
<spawn search> A Spawn search will target the nearest result.

Examples

  • /mqtarget npc radius 100 zradius 50 alert 1
  • /mqtarget pc range 30 35 lfg
  • /mqtarget npc los radius 220
  • /mqtarget ${Spawn[alert 1]}
  • /mqtarget ${Spawn[noalert 1]}
  • /mqtarget goblin next

See also