Hey guys,
I've been looking for how to do this for some time now. How do you make a macro that will cast something out of your spell book and say something in raid, say, etc.. and not have it repeat the text if you hit the keybind multiple times ??
Hey guys,
I've been looking for how to do this for some time now. How do you make a macro that will cast something out of your spell book and say something in raid, say, etc.. and not have it repeat the text if you hit the keybind multiple times ??
You'd have to execute this every time you log in.Code:/run local f=CreateFrame("Frame")f:SetScript("OnEvent", function(self,event,unit,spell)if unit~="player" or spell~="Spellname" then return end SendChatMessage("Your text","RAID")end)f:RegisterEvent("UNIT_SPELLCAST_SUCCEEDED")
You could also use the Hack addon to execute the code above (without the /run) every time you log on.
Gershuun @ Borean Tundra US - Interface & Macros Moderator
I might be retarded but I couldn't figure out how to get either of those to work. : P
Copy+paste mine into a macro. Run that macro every time you log in or reload your UI.Originally Posted by Trummel
Then just normally cast whatever spell you want. (Replace "Spellname" and "Your text" in the macro).