Targeting macro

First off I’m a complete newbie in the macro world so bear with me
I’m trying to create a targeting macro to quicken marking in raids
My crude macro looks like

/target x
/tm 1
/target y
/tm2
etc

I got 2 questions:

Does it not work if I have more than 3 targets in the macro? It seemed like the fourth was being disregarded and my macro only worked on 3 of the 4 mobs in my vicinity.

If I have 2 identical mobs, is there a macro conditional to check if a mob is unmarked? So that the macro checks if there is already mark, in which case it would go to the next and mark it. Or perhaps there is a simpler way to get around the issue of identical mobs within a group?

Not with macros but there’s WeakAuras or other addons which use more complex code that can.
e.g. https://wago.io/1ctv3b91K

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