How to play the command of World of Warcraft random macro?

/script a = UnitName(" target "); Text={ "Get up and get to work, the sun is shining!" "Sister Furong is coming, get up and run!" "Come back to life, my warrior!" }; Sendchat message (text [math.random (3)], "whisper", "lingua franca", a)

/cast resurrection

For tribes, it is enough to change the "lingua franca" into "orc language". Don't be crazy about this macro for one player, or it will be blocked.