- 1 One condition to remove in the macro options
- 2 Broken Cross-References
- 3 Stances
- 4 New Guide
- 5 Changes to passive voice
- 6 Combining options with , and /
- 7 Macro help
- 8 #show
- 9 Tracking Macro
- 10 Conjuring and Using
- 11 Changes in 2.2
- 12 Print problem relieved somewhat.
- 13 Rogue Specific Conditions Macros
- 14 Targeting
- 15 "This page is an archive"
- 16 group:party and group:raid
- 17 target=target
- 18 Warlock Backlash
- 19 Applying spellstonee/firestones
- 20 Spell succesfull=text
- 21 Shred/Mangle?
- 22 /castsequence with /click
- 23 equipped/worn: <???>
In the Commands section, the /cancelaura command is listed twice - once in General and once in Buffs/Auras. --Dorenthas 13:49, 22 February 2007 (EST)
One condition to remove in the macro options
#showtooltip /cast [A, B] [C] Spell 1; [D/E] Spell 2; Spell 3
I will remove the "[D/E]" option as the condition "/" is not working
Several places on this page make a cross-reference like "(see Part III for a workaround)". Part III does not appear to exist - did this information move somewhere else?
Paladin Blessings also use the "stance" keyword. I don't know why they're not included on the table there. I would add them, but I don't know what order they go in.
- These are the numbers for paladin auras 
- 1 = Devotion Aura
- 2 = Retribution Aura
- 3 = Concentration Aura
- 4 = Shadow Resistance Aura
- 5 = Frost Resistance Aura
- 6 = Fire Resistance Aura
- 7 = Crusader Aura
- ? = Sanctity Aura (Retribution Talent, unknown where it fits.)
- However, consensus seems to be that they don't work.
I recently revamped my macro guide on the UI & Macros forum and decided to post it here. I write my posts in HTML and then use a script to convert them to WoW forum format, so it was trivial to convert it to wiki as well. However, since it is just a dumb translation, there are some things that need tweaking (like internal links, and maybe it should be split into a couple different pages). I'll be paying attention to any changes made here and incorporate any content changes into my private copy and the posts on the forum. Cogwheel 19:34, 6 June 2007 (UTC)
Changes to passive voice
I undid the changes made by DaAznSaN. While I agree with some of the changes and will incorporate them into another edit, I find it strange that he purposefully reworded some phrases INTO the passive voice. Cogwheel 14:18, 13 June 2007 (UTC)
Combining options with , and /
The following (taken from the article) does not seem to be exact:
- Note: "," combines options by boolean And; "/" combines by boolean Or; prefacing an option with "no" e.g. "nochanneling" from "channeling", negates it.
It seems that "," works as a boolean And option separator, while "/" works as a boolean Or option argument separator. Let's say I want a macro that uses the Hearthstone while not in combat; however, I want to be able to use it in certain combat situations (perhaps I'm an experienced PvP paladin ;) ), so I want to be able to use it if I hold down the Alt key, no matter my combat state. I could try the following:
- /use [nocombat/modifier:alt] Hearthstone
According to the wiki, that should mean "(No (Combat)) Or (Modifier)", but what it really does is "No (Combat Or Modifier)", and this is rejected by WoW with a message stating "Unknown option combat/modifier". This allows me to conclude that "/" cannot be used as a boolean Or on options themselves.
Now, let's say I want a macro that uses the Hearthstone only when I hold both Ctrl AND Alt. (Perhaps I don't trust my unl33t clicking skills and I'm afraid of using the macro accidentally, and 10 seconds isn't long enough for me to realize I'm hearthstoning accidentally. :P ) I could try the following:
- /use [modifier:alt,ctrl] Hearthstone
Well, it's pretty obvious it won't work, because "," separates options, not option arguments. So WoW rejects this with an "Unknown option ctrl" (that is, assuming I'm holding down Alt, otherwise the first condition is false and the rest of the conditions aren't even evaluated), which is expected.
I recommend modifying the article to reflect this different use between "," and "/": "," separates options with a boolean And, "/" separates option arguments (after a ":") with a boolean Or. --Dorenthas 10:56, 1 April 2007 (EDT)
Hi can any one tell me if you can make a macro for a warrior to use execute but if the target HP isnt low enough use mortel strike? If so can you please tell me how?
You cannot get a macro to do something based on mob or player health/mana. :( Try
/cast Execute[modifier:alt];Mortal Strike
This will cast execute if you press down alt; otherwise it will cast Mortal Strike
I was looking at the spell reflection macro and I was woundering if you could add something to it that would equip a 2h weapon or 1h weapon with a modifier? i think it would look something like this
/equip 2hweapon [modifier:ctrl]; 1h weapon [modifier:alt] /cast [stance:1/2,equipped:Shields] Spell Reflection /equip [noequipped:Shields] shield
Obviously changing 2hweapon,1h weapon and shield with there names. would this work? would check it my self but I`m away for a couple of weeks —The preceding unsigned comment was added by Shuyin (talk • contr). 12:47, 10 May 2007 (EDT)
ever since the last major patch (2.1.2) the #show has not been working with the "?" icon like it did before - how it is still stated in the manual. Is this just me or everybody? —The preceding unsigned comment was added by Atola (talk • contr).
How can I make a macro that, depending on if I have alt, shift or ctrl pressed down, swaps my Hunter Tracking between Track Herbs, Track Beasts and Track Humanoids? It would clean up my actionbars a whole lot. --Fragment 20:40, 30 July 2007 (UTC)
Shouldn't be a problem after you read the basics.
/cast [modifier:alt] Track Herbs; [modifier:ctrl] ... ; Track Humanoid
Very simple, very useful, especially as a hunter. I found it's also quite useful when playing a druid in cat form to switch between the "standard" Track Humanoid and profession tracking (which when active will prevent Track Humanoid from automatically being cast when switching to cat form). --Lanfear 18:35, 13 September 2007 (UTC)
Conjuring and Using
The other day before maintenance this macro worked:
/castsequence Conjure Mana Agate, Mana Agate
Now, it doesn't work. It simply doesn't respond without showing an error message. So I used this:
/cast [modifier:ctrl] Mana Agate; Conjure Mana Agate
But I was wondering if anyone could make a macro script that did something like Use the Mana Agate if it exists and cast Conjure Mana Agate if Mana Agate doesn't exist in my inventory. I'm not proficient in programming so you can imagine I tried to use something noobish like:
/cast [Mana Agate, exists] Mana Agate; [Mana Agate, noexists] Conjure Mana Agate
Please someone help me! =] -DaDragonChild 05:09, 15 August 2007 (UTC)
The first listed macro actually did not stop working. I guess I just needed to not only relaunch WoW but restart my computer. BUT I would still like to know if the third macro I mentioned is possible! =] -DaDragonChild 06:36, 17 August 2007 (UTC)
- In the future, ask questions here: http://forums.worldofwarcraft.com/board.html?forumId=11114&sid=1 However, no, I do not believe it will. Here's what I use on my mage;
/castsequence [nocombat] Conjure Mana Citrine, Conjure Mana Jade, Conjure Mana Agate /use [combat] Mana Citrine
- -TigerHunter9002 01:33, 23 August 2007 (UTC)
Sadly, this is not possible. I would welcome the possibility to search the inventory for an item and to trigger macro actions depending on whether it exists or not.
--Lanfear 18:44, 13 September 2007 (UTC)
You can just do the following:
/use Mana Agate; /cast Conjure Mana Agate
Changes in 2.2
There seems to be a problem casting the first spell in your spellbook in the german version. Perhaps pther languages are affected too.
--Caveira 17:15, 10 October 2007 (CET)
Print problem relieved somewhat.
Added a <br> after each line in boxes that exceeded the screen width. That should help with the horizontal scroll bar overlaying the bottom of the text.
In my opinion, this is a problem in wikia's software that it adds a scrollbar without adjusting the size of the box, making the last line nearly unreadable.
I thought this article was very well written. Kudos to the author!
Rogue Specific Conditions Macros
Hey, great article on macros, it really helped.
I was wondering a little more about the specific conditions macros. I have a rogue and i like to pop a +AP trinket, a Energy Regen skill and Slice and Dice(a combo point dependant finishing move, which speeds up attack speed). Its obviously best to do this when you have five combo point.
What would a macro look like that waited until I had five combo points?
- Macros cannot make intelligent decisions like that: There's no conditional that checks the number of combo points you have on a target. - Tuhljin (talk) 21:10, 12 August 2008 (UTC)
Does targeting work with aoe's? Isn't there any way for you to cast an aoe around your target or yourself without having to use the ground-targeting circle? -Cowlinator (talk) 18:54, 22 September 2008 (UTC)
"This page is an archive"
The page opens with this statement: "This page is an archive of Cogwheel's Complete Macro Guide // An even more complete update may be found here." Perhaps that's what this page once was and what it started as, but that's no longer the case. I and others apparently didn't notice this "it's an archive" statement and have been treating this as a normal freely-editable guide. It now contains things the original never did (and I'd say ought to include whatever "even more complete" things have been added to the guide it once mirrored, though maybe not word for word). Why would we be in the business of archiving old macro guides, anyway? ... Especially if they're titled something as direct as "Making a macro" instead of "Making a macro (archive 200X)" or something. - Tuhljin (talk) 02:29, 29 September 2008 (UTC)
- Then simply remove the statement and move the external links to the bottom in an external links section if there isn't one. That you've been editing it is fine; that's what a wiki is for. --Sky (t · c · w) 01:07, 1 October 2008 (UTC)
group:party and group:raid
From the article:
group:party/raid This lets you determine whether you are in the given group type. [group] is equivalent to [group:party]. [group:raid] implies [group:party].
This wording is a bit confusing to me. It is true that:
- If you use [group:raid] it will return TRUE if you are in a raid.
- If you use [group:party] it will return TRUE if you are in a group OR in a raid.
My point is that "beeing in a raid" implies "beeing in a party", but [group:raid] does not imply [group:party]. Using [group:raid] returns FALSE if you are in a group.--tlund (talk) 13:40, 6 December 2008 (UTC)
- This tells the macro to only cast the specified spell on the target. It's usually used as a condition with other target=<unitid> entries. Like this,
/cast [mod:alt,target=player] Lesser Heal; [mod:ctrl,target=mouseover] Power Word: Shield; [target=target] Smite
- This is the same as:
/cast [mod:alt,target=player] Lesser Heal; [mod:ctrl,target=mouseover] Power Word: Shield; Smite
- Anyway, there's only one target=target in the page and I think it may be removed. --Hdante (talk) 17:57, 19 January 2009 (UTC)
- I can see how it might be redundant, but there must be a reason why it's still there. On the other hand, macros silently fail in the case of an invalid conditional, so there's really no way to tell if this condition exists or not.
- Anyway, there's only one target=target in the page and I think it may be removed. --Hdante (talk) 17:57, 19 January 2009 (UTC)
Is it possible to make a macro which simply casts Shadowbolt, but if Backlash buff is active, then stops the current casting then immediately casts Shadowbolt. TY --Conjurus (talk) 09:28, 23 June 2009 (UTC)
I was trying to develop a macro that would apply my spellstone to my mainhand, but i can only get as far as highlighting the hand, which i then to to manually click on my mainhand. It would seeem an inventory slot is not a valid unitid for [target=]....
- You have to use the spellstone and then use the item to which you will apply the buff or enchant.
/use <spellstone> /use 16
Hey, i'm trying to link the use of abbylities (wonder if i spelled it right) together with text...
Here is my macro:
/cast aspect of the pack
/s Aspect of the Pack now active!
As of now, it will say that it is active even if i disable it by clicking it again... I was thinking of a macro like this:
/cast aspect of the pack
/s [previous succesful] Aspect of the Pack now active!
The  indicates a condition. What i need here is of course the right condition, but the guide doesn't list any conditions of this kind.
This would be a great help. 13:00, February 18, 2010 (UTC)
- There's no such condition. If you want this functionality, you'll have to use an addon. I've heard that AfterCast still works.
I once heard of a macro:
/castrandom Shred,Mangle (Cat)()
that would cast Mangle if in front of an enemy and either Shred or Mangle if behind. I tried testing it, with no luck, but I'm holding out hope that my macro-fu simply isn't good enough. Can anyone tell me if this is possible? Sxizzor (talk) 01:24, March 19, 2010 (UTC)sxizzor
- Macros don't have access to which direction the enemy is facing. Also, as of patch 3.2, if the spell that castrandom picks fails, it will keep trying until it succeeds before picking a different one; hence why this macro won't cast Mangle if you are in front of the target, it just keeps retrying Shred.
/castsequence with /click
ok here is my current macro
/castsequence reset=5 Icy Touch,Plague Strike,Heart Strike,Heart Strike,Death Strike,Death coil,Death Strike, Heart Strike,Heart Strike,Heart Strike,Pestilence,Death Coil
then in the actionbutton 2 spot i have
/castsequence reset=5 Heart Strike,Heart Strike,Heart Strike,Heart Strike,Death Strike,Death coil,Death Strike, Heart Strike,Heart Strike,Heart Strike,Pestilence
however when i try this and i spam the first macro it just resets after the last death coil in the first macro and goes back to icy touch, please help! Iluvatarr (talk) 10:11, June 4, 2010 (UTC)
- That's what they're supposed to do. If you want it to keep casting Death Coil, you need to add it n times at the end (n being the number of times you want to cast it). If you want it to stop casting anything after Death Coil, you need to add a non-existent spell at the end for the cast sequence to get stuck on (e.g. "null").
- P.S. If you want the sequence to continue at the first Heart Strike in the second sequence only after casting the last Death Coil in the first one, then you have the wrong idea of how cast sequences work.
The ps part is exactly what i want to happen, and the article it says that you can use /click at the end of a macro if its too long and needs to be broken up into 2 macros, this is basically what im trying to do. —The preceding unsigned comment was added by Iluvatarr (talk • contr).
Essentially, this is your macro:
/startattack /castsequence reset=5 Icy Touch,Plague Strike,Heart Strike,Heart Strike,Death Strike,Death coil,Death Strike, Heart Strike,Heart Strike,Heart Strike,Pestilence,Death Coil /castsequence reset=5 Heart Strike,Heart Strike,Heart Strike,Heart Strike,Death Strike,Death coil,Death Strike, Heart Strike,Heart Strike,Heart Strike,Pestilence /script UIErrorsFrame:Clear()
Assuming there's no GCD or failed casts, this will do the following:
- Click 1: Cast Icy Touch and Heart Strike at the same time.
- Click 2: Cast Plague Strike and Heart Strike at the same time.
- Click 3: Cast Heart Strike twice.
Obviousely, the GCD would not allow the above to occur, but that is what happens when you have two cast sequences in the same macro.
ok so my question is, is there another command that i can use to get "If you want the sequence to continue at the first Heart Strike in the second sequence only after casting the last Death Coil in the first one" to work? —The preceding unsigned comment was added by Iluvatarr (talk • contr).
- Nope. There are addons, however, that will allow you to make macros that are more than 255 characters.
it says that the equipped/worn conditional can take inventory slots as arguments. i have been able to make successful checks for item types but not inventory slots; either by name or by assigned numeric value. i am attempting to have a macro use one spell when i have a weapon in my off-hand (inventory slot 17 or "secondaryhandslot") and another if i do not. however i have yet to be successful. any help would be appreciated.