Time warp macro question

Mage
So my mage alt will soon hit lvl 85, and learn Time Warp. I want a macro for time warp where I yell out something random from a given list each time I pop Time Warp. For example, if I wanted to yell either "Let's do the Time Warp DANCE!" or "Go, Go, Power Rangers!" randomly, how would I set up the macro?
I'd could tell you if I knew the syntax of lua... and a few choice commands.
This should work.

/script s={"Phrase 1","Phrase 2","Phrase 3"};SendChatMessage(s[random(1,3)], "SAY")
/cast Time Warp;

For example- replacing "Phrase 1" with "Go, Go, Power Rangers!" or whatever you want.
Awesome, thanx!
Let's do the Time Warp again!
If i wanted to yell out the phrase instead of saying it, do I put in /script y= instead of /script s=?

Join the Conversation

Return to Forum