What Are The WoW Macro Commands?
March 14, 2007 by Apadwe
Filed under WoW Macros
I just got done reading through how to setup a WoW macro on your site. It was really good as it taught me how to setup a macro but it really isn’t very useful without the World of Warcraft macro commands that I can use. So, what are the WoW macro commands I can use in macros?
I’m glad that other post I created was able to help you setup macros and I agree that it wasn’t the most useful macro you could create. The main thing to remember with macros is that you can use any slash command in World of Warcraft in your macros.
Some of the slash commands are not the most useful and there are some that are used way more than other ones.
Probably the most used macro command I have used is “/assist
One other great macro command is “/cast (spell subtext)”. An example of this would be “/cast Fireball (Rank 1)” to cast the rank 1 fireball. When creating a macro in which you want to cast a certain spell you can shift-click the spell in the spellbook and it will add the correct /cast command to cast that spell. That saves a lot on typing.
You can also use “%t” in the macro text to insert the targeted monster, player, or creature into the macro. For example, you can “/say Hi %t” and if you have Apadwe targeted it will say “Hi Apadwe”.
You can mix and match a whole lot of these together as long as the macro isn’t over 255 characters long to create your own macros. They are really useful to keep yourself from typing the same thing over and over again such as advertising your Auction House items.
Common slash commands used in macros are:
/assist
/equip
/cast
/castrandom
/mount
/dismount
/use
/userandom
/script (use this if you know the UI programming script and want to do some from the UI)
Those are the most basic WoW macro commands that you can use. There is so much stuff available to do with macros it is extremely hard to list everything right here. If there is a specific action you want your macro to take please submit it as a question and I will do my best to add it to the site.


So… i need to know , if is a command to select yourself … like /target YOURNAME…. but i need to find or know if there is a command to target yourself , but not to type your name …. like… i dont know… something like this ….. /targetself or /target$self or any of this… please …. replay , i really need it
I’m not sure if there is just a self target command. I do know that if you want to cast something or use something on yourself you can use this:
/cast [target=player] spellnamehere
/use [target=player] whateveryouareusingonyourself
Hopefully this is what you are ultimately looking for, if not let me know.
Is there a way to auto-loot?
I’ve made a skinning macro like such:
/target Nearest (Quite neat that it works)
/cast skinning
So I’ve been wondering… can I make it so it auto-loots and then auto-loots the leather/hide/scales?
Walroy,
To my knowledge there isn’t a macro that will allow you to autoloot. I’m pretty sure that Blizzard doesn’t allow this.
There’s no need to use a macro to autoloot, you can go to interface options and on the far right of the top section, there is a checkbox for autoloot.
I’ve done quite a bit of experimenting with the macro’s, and to self cast in combat, you simply have to start it out with /assist, which selects the target of your target. at least in one on one, the target should be you.
well i tried /target player and it targeted myself, but idk if that means it will target you, or the closest player…
just click your portrait on the top left and u should be selecting yourself right there. or hold Alt and then cast the buff n itll be self cast.
That takes far too long to do; besides, there’s an auto-self cast option you can check. Anyway, a better macro to do would be something along the lines of
/stopcasting
/cast [target=self] Healing Wave (Rank 1)
I’m wondering if there’s a way to pause the macro for a second. For example, I just found a pair of “Worn Troll Dice.” Since it doesn’t actually roll 2 six siders, I made a macro like this:
/use Worn Troll Dice
/stopcasting
/script local d1 = math.random(6); local d2 = math.random(6); SendChatMessage(”rolls ” .. d1 .. ” and ” .. d2 .. “.”, “EMOTE”, nil, nil)
Unfortunately this macro rolls the numbers before it uses the dice so it shows like this:
“/e rolls 3 and 6.
/e casually tosses her Worn Troll Dice”
I’ve also seen it as:
/use Worn Troll Dice
/stopcasting
/in 1
/script local d1 = math.random(6); local d2 = math.random(6); SendChatMessage(”rolls ” .. d1 .. ” and ” .. d2 .. “.”, “EMOTE”, nil, nil)
The in 1 doesn’t seem to help however.
So I need a way to hold off the number rolls a moment or two.
I’ve been playing with macros… finding out interesting things.
such as:
#showtooltip = Shows the spell description on mouseover from /cast
/cast [Button:1] Spell 1; Spell 2 = Right click = Spell 1. Left click = spell 2.
/cast [nomod:ctrl] Spell (Casts spell when normally clicked.)
/cast [mod:ctrl] Spell (Casts spell when Ctrl clicked.)
THE MOD: FEATURE
Works for:
[mod:alt] Spells work when alt clicked.
[mod:ctrl] Spells work when ctrl clicked.
[mod:shift] Spells work when shift clicked.
Hope my information was valid.
CORRECTION
Seems like the button isn’t working…
CAPS COUNTS.
/cast [button:1] Spell 1;Spell 2;
That should work if it didn’t work from the one up there.
Hello I was wondering if there was a way to make a macro for camping a mob/NPC.
I have a macro like this
/target Little Timmy
But I was wondering if there was a way to make it redo the macro again about 5mins later for camping and grinding reasons, where the mob/NPC takes time to appear.
Sounds odd now I have typed it but any help if you understand me would be happily accepted.
No, that would be classified as automation and not allowed.
The only way you can have it do it again is to click your macro 5 minutes later.
Alright i have been looking through tons of Macro commands and i came up with this one.
#showtootip Redemption
/Stopcasting
/Cast [target=mouseover] Redemption
/script SendChatMessage(”Nerevarine reaches into the depths of oblivion and grabs your hand, would you like to be resurrected?”, “WHISPER”, nil, UnitName(”target”));
Basically i want it to ressurect whoever i am moused over, as well as send them message asking if they wish to be ressurected. Do you guys think this will work? I cant try it until i get my new computer.
for Paladins or other healing people
/target (yourname)
/cast Holy light (or other healing spell)
/targetenemy
this is for while in combat
so it will automatically go back to targeting the enemy after you heal yourself
i dont know if you people have known this, but there is a auto self cast function in the interface, meaning your heal or whatever targets yourself if your target cannot be healed, like if you level and attack a monster, you WONT need to use a macro just to target yourself, cast and then target the monster again, it will do this automaticly
I need to create a macro that, when “Exorcism” is off cooldown, it will cast Exorcism on my current target, and if not, it will cast Flash of Light on myself. This is to get the most out of the “Art of War” Talent that when procced by a melee critical strike, makes both your Exorcism and Flash of Light spells instant. But since Exorcism has a 15 second cooldown, i could use all the Art of War’s DURING that 15 second window, to Flash of Light myself for every melee crit that i land, to make myself last alot longer in PvP.
So far i came up with this :
/castsequence [target=target] Exorcism, flash of light
This pretty much does it’s job, the only thing is, that after ONE exorcism and ONE Flash of Light, It will wait for Exorcism to be off cooldown again to start the sequence all over.
I was wondering if there was a Macro Command that works like the following situation:
IF this, then that, if NOT then this.
Translated in to the current situation that would be:
IF Exorcism is off cooldown, then exorcism, if NOT, then Flash of Light.
Can’t put it any clearer then that, i hope you can help me out here.
Regards, Zarnage – Thunderhorn.