Alt Modifier Macro for Emotes

Im trying to set up an alt modifier macro for emotes.

For example, I want it to do /hello when I push the Number Pad Key 1 and if I push the Alt Key + Number Pad Key 1 it will do /bye

I thought of…
(Key bind extra slot to Number Pad Key 1)

/hello [nomod]
/bye [Mod:alt]

But it doesn’t work :frowning:

I have tried

/run local emote="[btn:2]bye; [btn:1]hello" DoEmote(SecureCmdOptionParse(emote))

But that is for left vs right click. I want it to be keyboard buttons

Grab Macro-Talk. It’ll simplify your life.
https://www.curseforge.com/wow/addons/macro-talk

/opt [mod:alt] /bye; /hello

That works perfectly! Thank you so much!

1 Like