General Macro: i want the macro to say in Say: Darkness after the ability is cast. not before i don't want to spam the chat if the ability didn't go off

#showtooltip
/cast Darkness
/run if G_S_D then return end local f=CreateFrame("Frame") f:RegisterEvent("UNIT_SPELLCAST_SUCCEEDED") f:SetScript("OnEvent",function(s,e,u,_,id) if u=="player" and id==196718 then SendChatMessage("Darkness","SAY") end end) G_S_D=true

More General macros · EZMacro home