/script local t=5; local e = AceLibrary("AceEvent-2.0"); local f = function() SendChatMessage("Pulling in " .. t, "RAID_WARNING"); t = t - 1; if t == 0 then e:CancelScheduledEvent("Pull") end end; e:ScheduleRepeatingEvent("Pull", f, 1)
Im horrible with scripting (The /in macro does work listed above)
How do I edit this script for longer countdowns -- I would assume change t=10 .. or so forth... and if I wanted to adjust the chat msg.. I edit " SendChatMessage("Pulling in " " part?
Thanks much! Love your guys' addons.
EDIT: issue with current script - No *zero* msg.. I get the Pulling in X countdown - till 1, then nothing. (This is more for timestamp purposes so I can poke people who arent timing their spells properly (SWP Scout pulls)
Current macro used:
/rw Pulling in 8
/in 1 /rw Pulling in 7
/in 2 /rw Pulling in 6
/in 3 /rw Pulling in 5
/in 4 /rw Pulling in 4
/in 5 /rw Pulling in 3
/in 6 /rw Pulling in 2
/in 7 /rw Pulling in 1
/in 8 /rw KILL
Is there any real benefit between script use and macro use? (Both use ace it appears)
Side question.. I heard that WAU was no longer going to be available (the news post) .. however its still working fine for me... When will this be disabled?