Classic Target Macro

G’day,

I am trying to recreate a macro I had back in the day. Basically a Target macro to find the hard to find mobs, the macro would them mark the mob and play a sound. No matter what I do the macro will always picks up the dead mob where the [dead] it should be ignored.

Any help is greatly appreciated.

My target Macro:
/cleartarget
/target [dead][no harm] MOBNAME
/script SetRaidTargetIcon(“target”, 8)
/script PlaySound(5871)
/stopmacro [noexists]

Cheers enjoy Azeroth

Because you’re misunderstanding how conditions work.
/target [dead][noharm] NAME
is saying if your current target is dead or not harmful then target NAME.
There is no way to prevent targeting a corpse.

/cleartarget
/target MOBNAME
/stopmacro [dead][noharm] 
/script SetRaidTargetIcon(“target”, 8)
/script PlaySound(5871)
1 Like

Awesome thanks Elvenbane,

Yeah I must of had a brain fart with the conditions then frustration took over… While this macro still targets the dead mob at least it will not play the sound until a new alive mob is found.

Cheers!!

1 Like