Random Emote Help [Wow Classic]

Attempting to have 1 button randomly use an EMOTE_TOKEN. Is there any way for this to work?

Blockquote
/run xx = math.floor(math.random()*170);
/run DoEmote(EMOTE"…xx…"_TOKEN)

This will print the correct string but I can’t get it to run…

Blockquote
/run xx = math.floor(math.random()*170);
/run print(“DoEmote(EMOTE”…xx…"_TOKEN)")

Thoughts?

/run DoEmote(_G["EMOTE"..random(170).."_TOKEN"])
3 Likes

Ketho, I love your macro. It’s short and sweet. I have a couple questions for you. Do you have a short and sweet macro that will do the same thing, but only with random voice emotes? Even better, is it possible to disable the chat message and only hear/see the voice/animation?

Take a look at the addon I made…it’s called Khadgar’s Junk Drawer. It’s made for Classic, but should still work fine in retail. I have some emote code in there that I think you may be able to use in a macro. You’ll find it at Twitch/Curse.