World of Warcraft Wiki

Editing

Talk:Making a macro

2
  • This is a talk page. Please respect our talk page guidelines, and remember to sign your posts using four tildes (~~~~).
  • The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit. If you are undoing an edit that…
+
Latest revision Your text
Line 1: Line 1:
 
__TOC__
 
__TOC__
 
In the Commands section, the /cancelaura command is listed twice - once in General and once in Buffs/Auras. --[[User:Dorenthas|Dorenthas]] 13:49, 22 February 2007 (EST)
 
In the Commands section, the /cancelaura command is listed twice - once in General and once in Buffs/Auras. --[[User:Dorenthas|Dorenthas]] 13:49, 22 February 2007 (EST)
== An option changed in the macro options ==
 
#showtooltip
 
/cast [A, B] [C] Spell 1; [D/E] Spell 2; Spell 3
 
I changed "[D/E]" to "[D]" because the condition / is not actually working.
 
 
== Broken Cross-References ==
 
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?
 
   
 
== [[Making_a_macro#stance:0.2F1.2F2.2F....2Fn|Stances]] ==
 
== [[Making_a_macro#stance:0.2F1.2F2.2F....2Fn|Stances]] ==
Line 22: Line 14:
 
:* 6 = Fire Resistance Aura
 
:* 6 = Fire Resistance Aura
 
:* 7 = Crusader Aura
 
:* 7 = Crusader Aura
:* ? = Sanctity Aura (Retribution Talent, unknown where it fits.)
+
:* ? = Sanctity Aura (Retribution Talent, unknown where it fits.)
   
:However, consensus seems to be that they don't work.
+
:However, consensus seems to be that they don't work.
   
 
:-[[User:Cowlinator|Cowlinator]] ([[User talk:Cowlinator|talk]]) 19:02, 22 September 2008 (UTC)
 
:-[[User:Cowlinator|Cowlinator]] ([[User talk:Cowlinator|talk]]) 19:02, 22 September 2008 (UTC)
Line 38: Line 30:
 
== Combining options with , and / ==
 
== Combining options with , and / ==
   
The following (taken from the article) does not seem to be exact:
+
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.''
 
:''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.
 
It seems that "," works as a boolean And option separator, while "/" works as a boolean Or option '''argument''' separator.
Line 54: Line 46:
 
== Macro help ==
 
== Macro help ==
   
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?
+
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. :(
 
You cannot get a macro to do something based on mob or player health/mana. :(
Line 75: Line 67:
 
== #show ==
 
== #show ==
   
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? <small>—The preceding [[WoWWiki:Signature|unsigned]] comment was added by {{User|Atola}}.</small>
+
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? <small>—The preceding [[WoWWiki:Signature|unsigned]] comment was added by {{User|Atola}}.</small>
 
: Everything is working for me as it did before the patch ok. --{{User:Gryphon/Sig}} 01:59, 23 June 2007 (UTC)
 
: Everything is working for me as it did before the patch ok. --{{User:Gryphon/Sig}} 01:59, 23 June 2007 (UTC)
   
Line 82: Line 74:
 
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. --[[User:Fragment|Fragment]] 20:40, 30 July 2007 (UTC)
 
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. --[[User:Fragment|Fragment]] 20:40, 30 July 2007 (UTC)
   
Shouldn't be a problem after you read the basics.
+
Shouldn't be a problem after you read the basics.
 
/cast [modifier:alt] Track Herbs; [modifier:ctrl] ... ; Track Humanoid
 
/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).
 
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).
Line 103: Line 95:
 
Please someone help me! =] -[[User:DaDragonChild|DaDragonChild]] 05:09, 15 August 2007 (UTC)
 
Please someone help me! =] -[[User:DaDragonChild|DaDragonChild]] 05:09, 15 August 2007 (UTC)
   
<hr />Update****
+
<hr />
  +
  +
Update****
   
 
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! =] -[[User:DaDragonChild|DaDragonChild]] 06:36, 17 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! =] -[[User:DaDragonChild|DaDragonChild]] 06:36, 17 August 2007 (UTC)
Line 109: Line 101:
 
: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;
 
: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
+
/castsequence [nocombat] Conjure Mana Citrine, Conjure Mana Jade, Conjure Mana Agate <br>
 
 
/use [combat] Mana Citrine
 
/use [combat] Mana Citrine
   
Line 127: Line 119:
 
== Changes in 2.2 ==
 
== 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.
+
There seems to be a problem casting the first spell in your spellbook in the german version. Perhaps pther languages are affected too.
   
 
--[[User:Caveira|Caveira]] 17:15, 10 October 2007 (CET)
 
--[[User:Caveira|Caveira]] 17:15, 10 October 2007 (CET)
Line 133: Line 125:
 
== Print problem relieved somewhat. ==
 
== Print problem relieved somewhat. ==
   
Added a &lt;br&gt; after each line in boxes that exceeded the screen width. That should help with the horizontal scroll bar overlaying the bottom of the text.
+
Added a &lt;br&gt; 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.
 
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!
+
I thought this article was very well written. Kudos to the author!
   
 
--[[User:Gregity|Gregity]] ([[User talk:Gregity|talk]]) 01:31, 1 August 2008 (UTC)
 
--[[User:Gregity|Gregity]] ([[User talk:Gregity|talk]]) 01:31, 1 August 2008 (UTC)
Line 143: Line 135:
 
== Rogue Specific Conditions Macros ==
 
== Rogue Specific Conditions Macros ==
   
Hey, great article on macros, it really helped.
+
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.
 
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.
Line 155: Line 147:
 
== Targeting ==
 
== Targeting ==
   
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? -[[User:Cowlinator|Cowlinator]] ([[User talk:Cowlinator|talk]]) 18:54, 22 September 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? -[[User:Cowlinator|Cowlinator]] ([[User talk:Cowlinator|talk]]) 18:54, 22 September 2008 (UTC)
   
 
== "This page is an archive" ==
 
== "This page is an archive" ==
Line 181: Line 173:
 
/cast [mod:alt,target=player] Lesser Heal; [mod:ctrl,target=mouseover] Power Word: Shield; Smite
 
/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. --[[User:Hdante|Hdante]] ([[User talk:Hdante|talk]]) 17:57, 19 January 2009 (UTC)
 
:: Anyway, there's only one target=target in the page and I think it may be removed. --[[User:Hdante|Hdante]] ([[User talk: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. {{user:egingell/Sig|d=18:53, 19 January 2009 (UTC)}}
 
 
== Warlock Backlash ==
 
 
Hi!
 
 
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
 
--[[User:Conjurus|Conjurus]] ([[User talk:Conjurus|talk]]) 09:28, 23 June 2009 (UTC)
 
 
== Applying spellstonee/firestones ==
 
 
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
 
: {{user:egingell/Sig|d=19:44, October 4, 2009 (UTC)}}
 
 
== Spell succesfull=text ==
 
 
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 [http://www.wowinterface.com/downloads/info14404-AfterCastFansUpdate.html AfterCast] still works. {{user:egingell/Sig|d=05:07, February 22, 2010 (UTC)}}
 
 
== Shred/Mangle? ==
 
 
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? [[User:Sxizzor|Sxizzor]] ([[User talk: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 [[Patch 3.2.0 (undocumented changes)|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. {{user:egingell/Sig|d=03:02, March 19, 2010 (UTC)}}
 
::: Alright, thanks. I've heard people say it works, but it seems those were just rumors. [[User:Sxizzor|Sxizzor]] ([[User talk:Sxizzor|talk]]) 01:21, March 20, 2010 (UTC)sxizzor
 
:::: It '''used''' to work. {{user:egingell/Sig|d=00:01, March 21, 2010 (UTC)}}
 
 
== /castsequence with /click ==
 
 
ok here is my current macro<br />
 
/startattack<br />
 
/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<br />
 
/click ActionButton2<br />
 
<br />
 
then in the actionbutton 2 spot i have<br />
 
/castsequence reset=5 Heart Strike,Heart Strike,Heart Strike,Heart Strike,Death Strike,Death coil,Death Strike, Heart Strike,Heart Strike,Heart Strike,Pestilence<br />
 
/script UIErrorsFrame:Clear()<br />
 
<br />
 
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!
 
[[User:Iluvatarr|Iluvatarr]] ([[User talk: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"). <span style="font-size: 8pt; border: thin dashed; padding: 2px 3px">'''Posted by''': [[User:Egingell|EGingell]] ([[User_talk:Egingell|T]]|[[Special:Contributions/Egingell|C]]|[[Special:Following/Egingell|F]]) [http://www.wowarmory.com/character-sheet.xml?r=Cenarion+Circle&n=Treader Treader of Cenarion Circle] 17:54, Jun 4, 2010 (UTC)</span>
 
::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. <span style="font-size: 8pt; border: thin dashed; padding: 2px 3px">'''Posted by''': [[User:Egingell|EGingell]] ([[User_talk:Egingell|T]]|[[Special:Contributions/Egingell|C]]|[[Special:Following/Egingell|F]]) [http://www.wowarmory.com/character-sheet.xml?r=Cenarion+Circle&n=Treader Treader of Cenarion Circle] 18:00, Jun 4, 2010 (UTC)</span>
 
 
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. {{unsigned|Iluvatarr}}
 
 
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.
 
* Etc.
 
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. <span style="font-size: 8pt; border: thin dashed; padding: 2px 3px">'''Posted by''': [[User:Egingell|EGingell]] ([[User_talk:Egingell|T]]|[[Special:Contributions/Egingell|C]]|[[Special:Following/Egingell|F]]) [http://www.wowarmory.com/character-sheet.xml?r=Cenarion+Circle&n=Treader Treader of Cenarion Circle] 21:16, Jun 4, 2010 (UTC)</span>
 
<br />
 
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? {{unsigned|Iluvatarr}}
 
: Nope. There are addons, however, that will allow you to make macros that are more than 255 characters. <span style="font-size: 8pt; border: thin dashed; padding: 2px 3px">'''Posted by''': [[User:Egingell|EGingell]] ([[User_talk:Egingell|T]]|[[Special:Contributions/Egingell|C]]|[[Special:Following/Egingell|F]]) [http://www.wowarmory.com/character-sheet.xml?r=Cenarion+Circle&n=Treader Treader of Cenarion Circle] 23:42, Jun 4, 2010 (UTC)</span>
 
 
== equipped/worn: <???> ==
 
 
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.
 
  Loading editor

Useful Editing Links
New users → WoWWiki FAQ • Quick help → editing quickref
Upload images to the wiki • Reference and cite your sources
Check out the Manual of Style
Always follow the WoWWiki policies and guidelines!
Icon-warning-22x22 Do not submit copyrighted images or text without permission! Please note:
  • For testing, please use the sandbox instead.
  • If you don't want your writing to be edited mercilessly or redistributed by others, do not submit it.
  • You are promising us that you wrote this yourself, or copied it from a public domain or similar free resource.
  • Only public domain resources can be copied without permission - this does not include the vast majority of web pages or images.
Below are some commonly used wiki markup codes. Simply click on what you want to use and it will appear in the edit box above.