Elitist Jerks

Elitist Jerks (http://elitistjerks.com/forums.php)
-   The Banhammer (http://elitistjerks.com/f34/)
-   -   Warning for Hamsda: 1. All posters are to make an effort to communicate clearly. (http://elitistjerks.com/f34/t63191-warning_hamsda_1_all_posters_make_effort_communicate_clearly/)

Vykromond 06/12/09 5:27 PM

Warning for Hamsda: 1. All posters are to make an effort to communicate clearly.
 
Post: Macro Questions
User: Hamsda
Infraction: 1. All posters are to make an effort to communicate clearly.
Points: 0

Administrative Note:

Message to User:
Quote:

Your English isn't bad at all, but you do need to start sentences with capital letters.
Original Post:
Quote:

Quote:

Originally Posted by sarf (Post 1204792)
Code:

#showtooltip Hysteria
/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
/cast Hysteria


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...

Code:

#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?


sorry for the bad english :O


All times are GMT -4. The time now is 4:40 PM.

Forum Infrastructure by vBulletin 3.6.12 ©2000-2007, Jelsoft Enterprises Ltd.