What Is a Macro?

A macro is a bit of code to perform an action. These macros then can be placed in your action/hotbars for later use in game.

Note on emote or voice macros: Please use with moderation, spamming channels with text can and will get you reported. Common sense is key.
To Access Macros:
Go to your Main Menu: Select Macros then New . Note: can also get to the Main Menu area using the ESC key.

Setting up a macro.

Select an icon and name. Click Okay.

Macro Name and Icon.

Then type the script you want in the Edit Macro Command area, and click Complete. (Note: you can also cut and paste the script. Can be helpful for the keyboard impaired.)

Adding the macro script.

Drag the new macro from the macros area to an action bar slot, and you are done. Just test to be sure all is well and there you go!

Some Examples:
Name - Macro script - Description

d100
/script RandomRoll("1","100");
Die Roll 1-100 for looting rolls

TY
Thank you.
A simple Thank You message in your current chat channel

YW
You are welcome.
A simple You’re Welcome in your current chat channel

Drawing/Pulling Macro (no frills version): (Use after selecting your target)
/cast [equipped:Guns/Crossbows/Bows/Wands] Shoot, [equipped:Thrown] Throw

Select Nearest Enemy Target:
/targetenemy

Macro Related Links: (for inspiration)
Macro Guide from the World of Warcraft Site (10/28/07)
World of Warcraft UI and Macro Forum
WoWWiki Macro Page

Print This Post