hello i'm looking for a macro that does the following:

target boss target and heal , only if boss target is X , Y or Z

something like

/run t="targettarget" p="X" h="Healing Touch" if (UnitName(t) ~=UnitName(p)) then CastSpellByName(h); end


X - some player name