Macro help - Raid mark focus target if it doesn't have a mark already

Hey, I’m currently trying to make a macro that does the following:

  • Set my target or mouseover as focus.
  • Mark it with a raid marker

I want it to only mark my focus target if it doesn’t already have raid marker on it. Is it possible to add a condition for that? This is what I currently have but it will obviously always remark my focus.

/focus [@mouseover,nodead,exists]; [@target,exists]
/tm [@focus,exists] 2
/focus [@mouseover,exists,nodead] [exists]
/run if GetRaidTargetIndex("focus") == nil then SetRaidTarget("focus", 2) end

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.