I'm trying to find a macro which enables me to blind/sap the target (by mouse over or clicktarget) and say
the targets name in say/raid/party chat without spamming.
Now I came a cross this macro:
/cast [target=mouseover, exists] [] Blind
/script local t if UnitExists("mouseover") then t = UnitName("mouseover") else t = UnitName("target") end SendChatMessage("I just blinded "..t,"PARTY"
Which works fine. If I mouse over or target and press the key, it blinds and says the target name.
However, If I dont have a target, it will give an error message.
In addition, when I want to blind/sap (especially in pvp), I always spam the button.
In this case (when Blind isnt even on the target yet) it spams: "I just blinded Harry" "I just blinded Harry" "I just blinded Harry."
So your arena mate doesnt know when he's actually blinded/sapped.
Is there any way I can create a macro which only says "I just blinded Harry" if the debuff "Blind" is actually on the
target?
Same goes for sap. If I want to sap another rogue/druid, I use the quick sap macro. But this one also spams if I use /SendChatMessage("I just sapped "..t,"PARTY")
Basicly I'm looking for a macro that says: Cast sap/blind, if debuff sap/blind is on the target, tell X: "I just sapped/blinded Y!"
Can anyone help me out?
If theres any addon that does it, please tell me.