isnpc

This condition will only fire when the specified UnitID is a npc.

Parameters

The target's UnitID. Refer to target condition.

Examples

/cast [isnpc:target] {Yes}

This will execute the Macro with the name Yes if your target is a npc.