Im looking for a macro for me to use when im in a situation that has multiple adds and i want to serpent them all up. I know how to word this in C++ and java but not sure how in LUA. What i need is the proper LUA codeing to target target if no serpent is detected. More or less an IF value, but not sure how to word it.
Im not trying to apply a buff or debuff. All i want is a macro/addon to target a target only if the trigger of [serpent sting] is not flagged on it. Like i said its just a target macro with an IF factor put in.
The problem with tabbing is ill get a mob that allready has it.....
Macro's can't do if-then logic. Blizzard specifically removed this capability back before BC came out, because it leads to too much automation, in their opinion. This is also why addons like Decursive don't just show you a clickable button to decurse everybody - addons aren't allowed to be selective in targetting like that either. The player has to make the targetting decisions.