UnitID

An identifier that refers to a unit int he game world that can be interacted with. Available identifiers are:

You may append target to any of these to refer to that unit's target. You may even chain them together like @playertargettargettarget, but you'll notice an attendant performance hit if you overdo it.

Examples

/cast [harm @target] Frost Shock; [help @mouseover] Healing Wave

You will cast Frost Shock on your current target if it is considered hostile. If it isn't and your mouseover target is considered friendly, your character will cast Healing Wave on your mouseover target instead.


/cast [@mouseover] Flash Heal; [@focus] Flash Heal

Casts Flash Heal if you have a mouseover target. Casts Flash Heal on your focus target if you don't (Refer to the Compatibility Notes).