Warning for Hamsda: 1. All posters are to make an effort to communicate clearly.
Post: Macro Questions
Infraction: 1. All posters are to make an effort to communicate clearly.
Message to User:
Your English isn't bad at all, but you do need to start sentences with capital letters.
Originally Posted by sarf
/run u="target" S="Hysteria" s,l,e=GetSpellCooldown(S) if s+l == 0 and UnitExists(u) and HasFullControl() then SendChatMessage(S.." given, go crazy!","WHISPER",nil,UnitName(u)) end
i absolutely love this macro and adapted it for my use as a disc priest with power infusion (kinda annoying if you whisper someone "you have pi" and he pops cds but you didn't give it to him >.<) but i dont get it to work for my divine hymn like i want it to...
#showtooltip Divine Hymn
/cast Inner Focus
/cast Divine Hymn
/run S="Divine Hymn" s,l,e=GetSpellCooldown(S) if s+l == 0 and HasFullControl() then SendChatMessage(S.." läuft!!!","CHANNEL",nil,5) end
divine hymn has no target so i just deleted this part, but he won't announce it in our guilds healer channel (which is channel 5)... i didn't understand wowwikis description of the sendchatmessage api 100% so i need a little help here^^
also what are the variables l and e for? could one save a few characters there?