Howdy. I’m relatively new to macros, I’ve got the basics down but I still need some help. Is it possible to make a macro that, once I cast a spell my character will say/yell one of a few prepared phrases? Like, can I set up:
/cast Heal
/say By the light!
or
/say Light be with you!
or would that not work? thanks in advance.
Don’t think so. Used to be add-ons to do this, and you could include cool downs so you wouldn’t spam chat. But the one I used stopped updating and I don’t know the names of alternatives, if they exist.
Highly recommend not tying text to anything but 2+ minute cooldowns in the meantime. Minimum.
Is it possible to make a randomized marco?
Do I look like frankenstein to you? No I can’t randomly generate guys named Marco… and even if I could, why would I?
1 Like
A random phrase? Not that I’m aware of. You can do one, though, or make it multiple yourself. I probably wouldn’t and against my better judgement I’m sharing my old res macro from raiding days as an example:
#showtooltip
/cast Resurrection
/say Your ticket on the failboat has been reserved, %t. Please accept to confirm.
You’d have to edit, of course.
Place this line in your macro editing where needed. It will wordwrap but don’t use enter.
/script local f={"Phrase 1","Phrase 2","Phrase 3"}; SendChatMessage(f[random(3)],"SAY")
Replace/Add/Delete phrases as needed keeping commas between them random(3) will return a number between 1 and 3 so change the 3 to match the number of phrases you are using.
The problem you will run into is the character limit of a macro.