#showtooltip
/stopmacro [noexists]
/run for i=1,GetNumTrackingTypes() do local n, t, a, c = GetTrackingInfo(i); if string.find(n, UnitCreatureType("target")) then if t~=GetTrackingTexture(i) then SetTracking(i); end end end
/cast Hunter's Mark
This macro makes you track your targets type, if you use it on a undead, you will track undeads. Also it casts Hunter's Mark