WoW BlueTracker Home | RSS | News | Contact
Recent | Search | Archive | CS Posts
Poster: Neuro at 2006-11-07 17:12:58
Subject: Neuro's Macro Guide for WoW 2.0
  
In WoW 2.0, macros and addons will drastically change. Recently, Slouken announced an exciting new addition to the functionality of macros in WoW 2.0, a set of conditional options for the '/cast', '/use', and '/cancelaura' slash commands. This post is intended to be a "How-To" guide on using them.

Understand that most current macros will be obsolete in 2.0. Just about anything using CastSpellByName() or TargetUnit() will be non-functional in combat. However, you can now replicate the functionality of many popular macros with these new Macro Options.

Currently, using '/cast' is very simple. The command format is '/cast <spellname>' (which casts the highest rank of the listed spell), or '/cast <spellname>(Rank <#>)'. Some examples:

/cast Greater Heal
/cast Arcane Intellect(Rank 3)

In the new system, this format still works just the same, however you can now add options to give more flexibility to your /cast statements. The new command format for '/cast' is: '/cast [<first set of options>] <first spellname>; [<second set of options>] <second spellname> ; [<third set of options>] <third spellname>; ...

The way a macro works now is like this: The first set of options is checked. If they are true, then the first spell is cast. If they are false, the next set of options is evaluated, and if true, the next spell is cast, and so on. However, you must keep in mind that only one spell will be cast. As soon as a set of options evaluates to true, the game will cast the corresponding spell, and that line of the macro will be done.

The current options available to players are:
help - Evaluates 'true' if target is friendly
harm - Evaluates 'true' if target is hostile
combat - Evaluates 'true' if you are in combat.
stance or stance:# - Evaluates 'true' if you are in a stance, or are in a particular stance (see below)
stealth - Evaluates 'true' if you are stealthed.
modifier or modifier:shift|ctrl|alt - Evaluates 'true' if the selected key is held down when the command is executed.
dummy - always evaluates to 'false'; used for fooling the macro into showing you info for a particular spell.
equipped:<item> - Evaluates 'true' if item is equipped. Item can be any valid inventory slot, item class or item subclass.
target=<unit> - Special option. It changes the target from the default of "target" to any valid unitid. (see below)

Some additional tricks you can do with the options:
You can add 'no' to the beginning of any option (except target) to invert it, i.e. 'nocombat' will only work if you are NOT in combat.
Seperating options with a comma ',' will act like an 'and' statement; if both options are true, it executes.
Seperating options with a slash '/' will act like an 'or' statement; if either option is true, it executes.

Here are some examples to help:

/cast Greater Heal
Very simple macro which casts Greater Heal on your target.

/cast [help] Greater Heal
One option added. Will cast Greater Heal IF the target is friendly.

/cast [help] Greater Heal; Smite
Second spell added. Since it has no option added to it, it will be cast any time the first option fails.

/cast [help, combat] Flash Heal; [help, nocombat] Greater Heal; Smite
This macro will cast Flash Heal on a friendly target if you (not the target) are in combat. If you are not in combat and the

target is friendly, it will cast Greater Heal. If neither of these is true (i.e. the target is not friendly) it will cast Smite.

/cast [help] Greater Heal; [harm, combat] Smite; [harm, nocombat] Mind Flay
This will cast Greater Heal on a friendly target, or Smite if the player is in combat, or Mind Flay if the player is not in combat.

/cast [stealth] Ambush; Backstab
This will cast Ambush if the player is stealthed, Backstab if not.

/cast [nostealth] Backstab; Ambush
Does the exact same thing as above, just in a different way.

/cast [dummy] Evocation; Scorch
Will always cast scorch, but the Macro Icon will show the countdown timer for Evocation.

[ Post edited by Neuro ]



  http://forums.worldofwarcraft.com/thread.html?topicId=44757854&pageNo=1&sid=1#0
 
Poster: Slouken at 2006-11-07 17:28:47
Subject: Re: Macro
  
Priest's stance 1 is Shadowform.

  http://forums.worldofwarcraft.com/thread.html?topicId=44757854&pageNo=1&sid=1#6
Poster: Slouken at 2006-11-07 17:33:40
Subject: Re: Macro
  

Q u o t e:

Inventory Slot (1-19 I believe)



It's actually the INVTYPE_* tokens, and their values. (e.g. One-Hand, Off Hand, Chest, etc.)

You can also specify the item class groups (e.g. Melee Weapon, Ranged Weapon)

In general, if you're looking for the type that you want to use, check your ability tooltips and your item tooltips.

  http://forums.worldofwarcraft.com/thread.html?topicId=44757854&pageNo=1&sid=1#8
Poster: Neuro at 2006-11-07 17:12:58
Subject: Neuro's Macro Guide for WoW 2.0
  
In WoW 2.0, macros and addons will drastically change. Recently, Slouken announced an exciting new addition to the functionality of macros in WoW 2.0, a set of conditional options for the '/cast', '/use', and '/cancelaura' slash commands. This post is intended to be a "How-To" guide on using them.

Understand that most current macros will be obsolete in 2.0. Just about anything using CastSpellByName() or TargetUnit() will be non-functional in combat. However, you can now replicate the functionality of many popular macros with these new Macro Options.

Currently, using '/cast' is very simple. The command format is '/cast <spellname>' (which casts the highest rank of the listed spell), or '/cast <spellname>(Rank <#>)'. Some examples:

/cast Greater Heal
/cast Arcane Intellect(Rank 3)

In the new system, this format still works just the same, however you can now add options to give more flexibility to your /cast statements. The new command format for '/cast' is: '/cast [<first set of options>] <first spellname>; [<second set of options>] <second spellname> ; [<third set of options>] <third spellname>; ...

The way a macro works now is like this: The first set of options is checked. If they are true, then the first spell is cast. If they are false, the next set of options is evaluated, and if true, the next spell is cast, and so on. However, you must keep in mind that only one spell will be cast. As soon as a set of options evaluates to true, the game will cast the corresponding spell, and that line of the macro will be done.

The current options available to players are:
help - Evaluates 'true' if target is friendly
harm - Evaluates 'true' if target is hostile
combat - Evaluates 'true' if you are in combat.
stance or stance:# - Evaluates 'true' if you are in a stance, or are in a particular stance (see below)
stealth - Evaluates 'true' if you are stealthed.
modifier or modifier:shift|ctrl|alt - Evaluates 'true' if the selected key is held down when the command is executed.
dummy - always evaluates to 'false'; used for fooling the macro into showing you info for a particular spell.
equipped:<item> - Evaluates 'true' if item is equipped. Item can be any valid inventory slot, item class or item subclass.
target=<unit> - Special option. It changes the target from the default of "target" to any valid unitid. (see below)

Some additional tricks you can do with the options:
You can add 'no' to the beginning of any option (except target) to invert it, i.e. 'nocombat' will only work if you are NOT in combat.
Seperating options with a comma ',' will act like an 'and' statement; if both options are true, it executes.
Seperating options with a slash '/' will act like an 'or' statement; if either option is true, it executes.

Here are some examples to help:

/cast Greater Heal
Very simple macro which casts Greater Heal on your target.

/cast [help] Greater Heal
One option added. Will cast Greater Heal IF the target is friendly.

/cast [help] Greater Heal; Smite
Second spell added. Since it has no option added to it, it will be cast any time the first option fails.

/cast [help, combat] Flash Heal; [help, nocombat] Greater Heal; Smite
This macro will cast Flash Heal on a friendly target if you (not the target) are in combat. If you are not in combat and the target is friendly, it will cast Greater Heal. If neither of these is true (i.e. the target is not friendly) it will cast Smite.

/cast [help] Greater Heal; [harm, combat] Smite; [harm, nocombat] Mind Flay
This will cast Greater Heal on a friendly target, or Smite if the player is in combat, or Mind Flay if the player is not in combat.

/cast [stealth] Ambush; Backstab
This will cast Ambush if the player is stealthed, Backstab if not.

/cast [nostealth] Backstab; Ambush
Does the exact same thing as above, just in a different way.

/cast [dummy] Evocation; Scorch
Will always cast scorch, but the Macro Icon will show the countdown timer for Evocation.

[ Post edited by Neuro ]



  http://forums.worldofwarcraft.com/thread.html?topicId=44757854&pageNo=1&sid=1#0
 
Poster: Slouken at 2006-11-07 21:35:52
Subject: Re: Macro
  

Q u o t e:
AFAIK, yes, the stance indices are static, though Slouken is welcome to correct me if I am wrong.


No, the stance numbers are not static, but everybody who has the same set of forms/stances will have the same indices.

--Sam

  http://forums.worldofwarcraft.com/thread.html?topicId=44757854&pageNo=1&sid=1#13
Poster: Slouken at 2006-11-08 08:21:58
Subject: Re: Macro
  
No, it'll be in the next beta update.

  http://forums.worldofwarcraft.com/thread.html?topicId=44757854&pageNo=2&sid=1#21
Poster: Slouken at 2006-11-08 08:55:39
Subject: Re: Macro
  

Q u o t e:
I just have 1 question, is that posible to cast spell if I have speceific item equpied in the slot?


No, and this is not going to be added. If you want to use one of several trinkets though, you can either use /useslot with the appropriate trinket slot or have multiple /use macros and any item you don't have will be ignored.

  http://forums.worldofwarcraft.com/thread.html?topicId=44757854&pageNo=2&sid=1#25
Poster: Slouken at 2006-11-08 08:57:18
Subject: Re: Neuro's Macro Guide for WoW 2.0
  

Q u o t e:
How about [melee] and [nomelee]?


The designers have confirmed that this will not be added because this constitutes a decision based on dynamic combat conditions.

BTW, mana, health, buffs, etc. all fall under this category.

  http://forums.worldofwarcraft.com/thread.html?topicId=44757854&pageNo=2&sid=1#26
Poster: Slouken at 2006-11-07 21:35:52
Subject: Re: Macro
  

Q u o t e:
AFAIK, yes, the stance indices are static, though Slouken is welcome to correct me if I am wrong.


No, the stance numbers are not static, but everybody who has the same set of forms/stances will have the same indices.

[ Post edited by Slouken ]



  http://forums.worldofwarcraft.com/thread.html?topicId=44757854&pageNo=1&sid=1#13
Poster: Slouken at 2006-11-08 16:52:14
Subject: Re: Macro
  
Not entirely true, unfortunately. There's a delay between the time you cast stealth and the stealth actually happens where you could accidentally toggle it. This will be taken care of with the short toggle cooldown in 2.0 though, so you should be fine.

  http://forums.worldofwarcraft.com/thread.html?topicId=44757854&pageNo=2&sid=1#39
Poster: Slouken at 2006-11-08 22:20:09
Subject: Re: Neuro's Macro Guide for WoW 2.0
  

Q u o t e:

Alright, hypothetically let's say this macro:

/cast [melee] Raptor Strike; [ranged] Arcane Shot

Would not be much different from this macro:

/cast Arcane Shot
/cast Raptor Strike



You're right, they're not. Interresting, that. :)

  http://forums.worldofwarcraft.com/thread.html?topicId=44757854&pageNo=3&sid=1#49
Poster: Slouken at 2006-11-08 22:20:09
Subject: Re: Neuro's Macro Guide for WoW 2.0
  

Q u o t e:

Alright, hypothetically let's say this macro:

/cast [melee] Raptor Strike; [ranged] Arcane Shot

Would not be much different from this macro:

/cast Arcane Shot
/cast Raptor Strike



You're right, they're not. Interresting, that. :)

The designers want the players to react to changing conditions in the game, not the macros and scripts.

[ Post edited by Slouken ]



  http://forums.worldofwarcraft.com/thread.html?topicId=44757854&pageNo=3&sid=1#49
Poster: Slouken at 2006-11-09 07:26:17
Subject: Re: Brute Force vs. Decisions
  
Cogwheel, a brute force macro and blindly mashing buttons are the same, and neither are a behavior the designers want to encourage.

  http://forums.worldofwarcraft.com/thread.html?topicId=44757854&pageNo=4&sid=1#61
Poster: Slouken at 2006-11-09 13:33:40
Subject: Re: Brute Force vs. Decisions
  
This thread is for technical discussion only. Off topic posts will be deleted.

  http://forums.worldofwarcraft.com/thread.html?topicId=44757854&pageNo=4&sid=1#72
Poster: Neuro at 2006-11-07 17:12:58
Subject: Neuro's Macro Guide for WoW 2.0
  
In WoW 2.0, macros and addons will drastically change. Recently, Slouken announced an exciting new addition to the functionality of macros in WoW 2.0, a set of conditional options for the '/cast', '/use', '/target', '/focus', '/assist', '/stopmacro' and '/cancelaura' slash commands. This post is intended to be a "How-To" guide on using them.

NOTE: While most of the examples given are done using '/cast', these options are available to all the slash commands listed above.

Understand that most current macros will be obsolete in 2.0. Just about anything using CastSpellByName() or TargetUnit() will be non-functional in combat. In addition, most 'dumb logic' macros will not work either. However, you can now replicate the functionality of many popular macros with these new Macro Options.

Currently, using '/cast' is very simple. The command format is '/cast <spellname>' (which casts the highest rank of the listed spell), or '/cast <spellname>(Rank <#>)'. Some examples:

/cast Greater Heal
/cast Arcane Intellect(Rank 3)

In the new system, this format still works just the same, however you can now add options to give more flexibility to your /cast statements. The new command format for '/cast' is: '/cast [<first set of options>] <first spellname>; [<second set of options>] <second spellname> ; [<third set of options>] <third spellname>; ...

The way a macro works now is like this: The first set of options is checked. If they are true, then the first spell is cast. If they are false, the next set of options is evaluated, and if true, the next spell is cast, and so on. However, you must keep in mind that only one spell will be cast. As soon as a set of options evaluates to true, the game will cast the corresponding spell, and that line of the macro will be done.

The current options available to players are:
help - Evaluates 'true' if target is friendly
harm - Evaluates 'true' if target is hostile
combat - Evaluates 'true' if you are in combat.
stance or stance:# - Evaluates 'true' if you are in a stance, or are in a particular stance (see below)
stealth - Evaluates 'true' if you are stealthed.
modifier or modifier:shift|ctrl|alt - Evaluates 'true' if the selected key is held down when the command is executed.
dummy - always evaluates to 'false'; used for fooling the macro into showing you info for a particular spell.
equipped:<item> - Evaluates 'true' if item is equipped. Item can be any valid inventory slot, item class or item subclass.
target=<unit> - Special option. It changes the target from the default of "target" to any valid unitid. (see below)
actionbar:<number> - Evaluates 'true' if the current actionbar is the same as the listed one

Some additional tricks you can do with the options:
You can add 'no' to the beginning of any option (except target) to invert it, i.e. 'nocombat' will only work if you are NOT in combat.
Seperating options with a comma ',' will act like an 'and' statement; if both options are true, it executes.
Seperating options with a slash '/' will act like an 'or' statement; if either option is true, it executes.

Here are some examples to help:

/cast Greater Heal
Very simple macro which casts Greater Heal on your target.

/cast [help] Greater Heal
One option added. Will cast Greater Heal IF the target is friendly.

/cast [help] Greater Heal; Smite
Second spell added. Since it has no option added to it, it will be cast any time the first option fails.

/cast [help, combat] Flash Heal; [help, nocombat] Greater Heal; Smite
This macro will cast Flash Heal on a friendly target if you (not the target) are in combat. If you are not in combat and the target is friendly, it will cast Greater Heal. If neither of these is true (i.e. the target is not friendly) it will cast Smite.

/cast [help] Greater Heal; [harm, combat] Smite; [harm, nocombat] Mind Flay
This will cast Greater Heal on a friendly target, or Smite if the player is in combat, or Mind Flay if the player is not in combat.

/cast [stealth] Ambush; Backstab
This will cast Ambush if the player is stealthed, Backstab if not.

/cast [nostealth] Backstab; Ambush
Does the exact same thing as above, just in a different way.

/cast [dummy] Evocation; Scorch
Will always cast scorch, but the Macro Icon will show the countdown timer for Evocation.

/cast [actionbar:1] Greater Heal; [actionbar:2] Smite
Will cast Greater Heal if the current actionbar is #1, Smite if it is #2, nothing if actionbars 3+ are selected.

/cast [harm] Polymorph
/stopmacro [noharm]
/p Sheeping %t! DO NOT TOUCH!
This macro will cast Polymorph if the target is hostile, then stop the macro if the target is NOT hostile (i.e. if the polymorph didn't go off). Then it tells the party that it's target has been Sheeped. Note that because of the '/stopmacro' command, if the target was not sheeped, the party would not be sent a tell (thus cutting down on unneccessary spam).

[ Post edited by Neuro ]



  http://forums.worldofwarcraft.com/thread.html?topicId=44757854&pageNo=1&sid=1#0
 
Poster: Slouken at 2006-11-10 09:53:12
Subject: Re: Example Macros from Users
  

Q u o t e:

Will this now target the person you cast Dispel on?



No, it simply casts dispel on that person without changing your current target.

  http://forums.worldofwarcraft.com/thread.html?topicId=44757854&pageNo=5&sid=1#83
Poster: Neuro at 2006-11-07 17:12:58
Subject: Neuro's Macro Guide for WoW 2.0
  
In WoW 2.0, macros and addons will drastically change. Recently, Slouken announced an exciting new addition to the functionality of macros in WoW 2.0, a set of conditional options for the '/cast', '/use', '/target', '/focus', '/assist', '/stopmacro' and '/cancelaura' slash commands. This post is intended to be a "How-To" guide on using them.

NOTE: While most of the examples given are done using '/cast', these options are available to all the slash commands listed above.

Understand that most current macros will be obsolete in 2.0. Just about anything using CastSpellByName() or TargetUnit() will be non-functional in combat. In addition, most 'dumb logic' macros will not work either. However, you can now replicate the functionality of many popular macros with these new Macro Options.

Currently, using '/cast' is very simple. The command format is '/cast <spellname>' (which casts the highest rank of the listed spell), or '/cast <spellname>(Rank <#>)'. Some examples:

/cast Greater Heal
/cast Arcane Intellect(Rank 3)

In the new system, this format still works just the same, however you can now add options to give more flexibility to your /cast statements. The new command format for '/cast' is: '/cast [<first set of options>] <first spellname>; [<second set of options>] <second spellname> ; [<third set of options>] <third spellname>; ...

The way a macro works now is like this: The first set of options is checked. If they are true, then the first spell is cast. If they are false, the next set of options is evaluated, and if true, the next spell is cast, and so on. However, you must keep in mind that only one spell will be cast. As soon as a set of options evaluates to true, the game will cast the corresponding spell, and that line of the macro will be done.

The current options available to players are:
help - Evaluates 'true' if target is friendly
harm - Evaluates 'true' if target is hostile
combat - Evaluates 'true' if you are in combat.
stance or stance:# - Evaluates 'true' if you are in a stance, or are in a particular stance (see below)
stealth - Evaluates 'true' if you are stealthed.
modifier or modifier:shift|ctrl|alt - Evaluates 'true' if the selected key is held down when the command is executed.
dummy - always evaluates to 'false'; used for fooling the macro into showing you info for a particular spell.
equipped:<item> - Evaluates 'true' if item is equipped. Item can be any valid inventory slot, item class or item subclass.
target=<unit> - Special option. It changes the target from the default of "target" to any valid unitid. (see below)
actionbar:<number> - Evaluates 'true' if the current actionbar is the same as the listed one.

NEW OPTIONS:
pet:<pet type OR pet name> - Evaluates 'true' if the pet exists. Takes pet type (Owl, Bear, Imp) or pet name (Fluffy, MrBigglesworth). With no modifier (i.e. just [pet]) it evaluates 'true' if ANY pet exists.
mounted, swimming, flying - Evaluates 'true' if you are mounted, swimming, or flying, respectively.
indoors, outdoors - Evaluates 'true' if you are indoors or outdoors, respectively.

Some additional tricks you can do with the options:
You can add 'no' to the beginning of any option (except target) to invert it, i.e. 'nocombat' will only work if you are NOT in combat.
Seperating options with a comma ',' will act like an 'and' statement; if both options are true, it executes.
Seperating options with a slash '/' will act like an 'or' statement; if either option is true, it executes.

Here are some examples to help:

/cast Greater Heal
Very simple macro which casts Greater Heal on your target.

/cast [help] Greater Heal
One option added. Will cast Greater Heal IF the target is friendly.

/cast [help] Greater Heal; Smite
Second spell added. Since it has no option added to it, it will be cast any time the first option fails.

/cast [help, combat] Flash Heal; [help, nocombat] Greater Heal; Smite
This macro will cast Flash Heal on a friendly target if you (not the target) are in combat. If you are not in combat and the target is friendly, it will cast Greater Heal. If neither of these is true (i.e. the target is not friendly) it will cast Smite.

/cast [help] Greater Heal; [harm, combat] Smite; [harm, nocombat] Mind Flay
This will cast Greater Heal on a friendly target, or Smite if the player is in combat, or Mind Flay if the player is not in combat.

/cast [stealth] Ambush; Backstab
This will cast Ambush if the player is stealthed, Backstab if not.

/cast [nostealth] Backstab; Ambush
Does the exact same thing as above, just in a different way.

/cast [dummy] Evocation; Scorch
Will always cast scorch, but the Macro Icon will show the countdown timer for Evocation.

/cast [actionbar:1] Greater Heal; [actionbar:2] Smite
Will cast Greater Heal if the current actionbar is #1, Smite if it is #2, nothing if actionbars 3+ are selected.

[ Post edited by Neuro ]



  http://forums.worldofwarcraft.com/thread.html?topicId=44757854&pageNo=1&sid=1#0
 
Poster: Neuro at 2006-11-07 17:12:58
Subject: Neuro's Macro Guide for WoW 2.0
  
(Author's Note: WoW 2.0 is still in Beta, and as such, these options can change at any time.)

In WoW 2.0, macros and addons will drastically change. Recently, Slouken announced an exciting new addition to the functionality of macros in WoW 2.0, a set of conditional options for the '/cast', '/use', '/target', '/focus', '/assist', '/stopmacro' and '/cancelaura' slash commands. This post is intended to be a "How-To" guide on using them.

NOTE: While most of the examples given are done using '/cast', these options are available to all the slash commands listed above.

Understand that most current macros will be obsolete in 2.0. Just about anything using CastSpellByName() or TargetUnit() will be non-functional in combat. In addition, most 'dumb logic' macros will not work either. However, you can now replicate the functionality of many popular macros with these new Macro Options.

Currently, using '/cast' is very simple. The command format is '/cast <spellname>' (which casts the highest rank of the listed spell), or '/cast <spellname>(Rank <#>)'. Some examples:

/cast Greater Heal
/cast Arcane Intellect(Rank 3)

In the new system, this format still works just the same, however you can now add options to give more flexibility to your /cast statements. The new command format for '/cast' is: '/cast [<first set of options>] <first spellname>; [<second set of options>] <second spellname> ; [<third set of options>] <third spellname>; ...

The way a macro works now is like this: The first set of options is checked. If they are true, then the first spell is cast. If they are false, the next set of options is evaluated, and if true, the next spell is cast, and so on. However, you must keep in mind that only one spell will be cast. As soon as a set of options evaluates to true, the game will cast the corresponding spell, and that line of the macro will be done.

The current options available to players are:
help - Evaluates 'true' if target is friendly
harm - Evaluates 'true' if target is hostile
combat - Evaluates 'true' if you are in combat.
stance or stance:# - Evaluates 'true' if you are in a stance, or are in a particular stance (see below)
stealth - Evaluates 'true' if you are stealthed.
modifier or modifier:shift|ctrl|alt - Evaluates 'true' if the selected key is held down when the command is executed.
dummy - always evaluates to 'false'; used for fooling the macro into showing you info for a particular spell.
equipped:<item> - Evaluates 'true' if item is equipped. Item can be any valid inventory slot, item class or item subclass.
target=<unit> - Special option. It changes the target from the default of "target" to any valid unitid. (see below)
actionbar:<number> - Evaluates 'true' if the current actionbar is the same as the listed one.

NEW OPTIONS:
pet:<pet type OR pet name> - Evaluates 'true' if the pet exists. Takes pet type (Owl, Bear, Imp) or pet name (Fluffy, MrBigglesworth). With no modifier (i.e. just [pet]) it evaluates 'true' if ANY pet exists.
mounted, swimming, flying - Evaluates 'true' if you are mounted, swimming, or flying, respectively.
indoors, outdoors - Evaluates 'true' if you are indoors or outdoors, respectively.

Some additional tricks you can do with the options:
You can add 'no' to the beginning of any option (except target) to invert it, i.e. 'nocombat' will only work if you are NOT in combat.
Seperating options with a comma ',' will act like an 'and' statement; if both options are true, it executes.
Seperating options with a slash '/' will act like an 'or' statement; if either option is true, it executes.

Here are some examples to help:

/cast Greater Heal
Very simple macro which casts Greater Heal on your target.

/cast [help] Greater Heal
One option added. Will cast Greater Heal IF the target is friendly.

/cast [help] Greater Heal; Smite
Second spell added. Since it has no option added to it, it will be cast any time the first option fails.

/cast [help, combat] Flash Heal; [help, nocombat] Greater Heal; Smite
This macro will cast Flash Heal on a friendly target if you (not the target) are in combat. If you are not in combat and the target is friendly, it will cast Greater Heal. If neither of these is true (i.e. the target is not friendly) it will cast Smite.

/cast [help] Greater Heal; [harm, combat] Smite; [harm, nocombat] Mind Flay
This will cast Greater Heal on a friendly target, or Smite if the player is in combat, or Mind Flay if the player is not in combat.

[ Post edited by Neuro ]



  http://forums.worldofwarcraft.com/thread.html?topicId=44757854&pageNo=1&sid=1#0
 
Poster: Slouken at 2006-11-11 16:03:32
Subject: Re: Brute Force vs. Decisions
  

Q u o t e:
What would I use to either, pick up food and drop it on my pet, or to cast Feed Pet and select some food.

I want to be able to do this;

/cast [pet:Bear] feed pet alterac swiss;[pet:Cat] feed pet Roasted Quail;[pet:Gorilla] feed pet Deep Fried Plantains

would this be possible, or have I messed up totally? ;-)




Almost right... :)
/stopmacro [nopet]
/cast Feed Pet
/use [pet:Bear] alterac swiss;[pet:Cat] Roasted Quail;[pet:Gorilla] Deep Fried Plantains

  http://forums.worldofwarcraft.com/thread.html?topicId=44757854&pageNo=5&sid=1#95
Poster: Neuro at 2006-11-07 17:12:58
Subject: Neuro's Macro Guide for WoW 2.0
  
(Author's Note: WoW 2.0 is still in Beta, and as such, these options can change at any time.)

In WoW 2.0, macros and addons will drastically change. Recently, Slouken announced an exciting new addition to the functionality of macros in WoW 2.0, a set of conditional options for the '/cast', '/use', '/target', '/focus', '/assist', '/stopmacro' and '/cancelaura' slash commands. This post is intended to be a "How-To" guide on using them.

NOTE: While most of the examples given are done using '/cast', these options are available to all the slash commands listed above.

Understand that most current macros will be obsolete in 2.0. Just about anything using CastSpellByName() or TargetUnit() will be non-functional in combat. In addition, most 'dumb logic' macros will not work either. However, you can now replicate the functionality of many popular macros with these new Macro Options.

Currently, using '/cast' is very simple. The command format is '/cast <spellname>' (which casts the highest rank of the listed spell), or '/cast <spellname>(Rank <#>)'. Some examples:

/cast Greater Heal
/cast Arcane Intellect(Rank 3)

In the new system, this format still works just the same, however you can now add options to give more flexibility to your /cast statements. The new command format for '/cast' is: '/cast [<first set of options>] <first spellname>; [<second set of options>] <second spellname> ; [<third set of options>] <third spellname>; ...

The way a macro works now is like this: The first set of options is checked. If they are true, then the first spell is cast. If they are false, the next set of options is evaluated, and if true, the next spell is cast, and so on. However, you must keep in mind that only one spell will be cast. As soon as a set of options evaluates to true, the game will cast the corresponding spell, and that line of the macro will be done.

The current options available to players are:
help - Evaluates 'true' if target is friendly
harm - Evaluates 'true' if target is hostile
combat - Evaluates 'true' if you are in combat.
stance or stance:# - Evaluates 'true' if you are in a stance, or are in a particular stance (see below)
stealth - Evaluates 'true' if you are stealthed.
modifier or modifier:shift|ctrl|alt - Evaluates 'true' if the selected key is held down when the command is executed.
dummy - always evaluates to 'false'; used for fooling the macro into showing you info for a particular spell.
equipped:<item> - Evaluates 'true' if item is equipped. Item can be any valid inventory slot, item class or item subclass.
target=<unit> - Special option. It changes the target from the default of "target" to any valid unitid. (see below)
actionbar:<number> - Evaluates 'true' if the current actionbar is the same as the listed one.

NEW OPTIONS:
pet:<pet type OR pet name> - Evaluates 'true' if the pet exists. Takes pet type (Owl, Bear, Imp) or pet name (Fluffy, MrBigglesworth). With no modifier (i.e. just [pet]) it evaluates 'true' if ANY pet exists.
mounted, swimming, flying - Evaluates 'true' if you are mounted, swimming, or flying, respectively.
indoors, outdoors - Evaluates 'true' if you are indoors or outdoors, respectively.

New Macro Command
---------------------------
/castsequence - Casts a predetermines set of spells in sequence (See Below)

Some additional tricks you can do with the options:
You can add 'no' to the beginning of any option (except target) to invert it, i.e. 'nocombat' will only work if you are NOT in combat.
Seperating options with a comma ',' will act like an 'and' statement; if both options are true, it executes.
Seperating options with a slash '/' will act like an 'or' statement; if either option is true, it executes.

Here are some examples to help:

/cast Greater Heal
Very simple macro which casts Greater Heal on your target.

/cast [help] Greater Heal
One option added. Will cast Greater Heal IF the target is friendly.

/cast [help] Greater Heal; Smite
Second spell added. Since it has no option added to it, it will be cast any time the first option fails.

/cast [help, combat] Flash Heal; [help, nocombat] Greater Heal; Smite
This macro will cast Flash Heal on a friendly target if you (not the target) are in combat. If you are not in combat and the target is friendly, it will cast Greater Heal. If neither of these is true (i.e. the target is not friendly) it will cast Smite.

/cast [help] Greater Heal; [harm, combat] Smite; [harm, nocombat] Mind Flay
This will cast Greater Heal on a friendly target, or Smite if the player is in combat, or Mind Flay if the player is not in combat.

[ Post edited by Neuro ]



  http://forums.worldofwarcraft.com/thread.html?topicId=44757854&pageNo=1&sid=1#0
 
Poster: Neuro at 2006-11-07 17:12:58
Subject: Neuro's Macro Guide for WoW 2.0
  
(Author's Note: WoW 2.0 is still in Beta, and as such, these options can change at any time.)

In WoW 2.0, macros and addons will drastically change. Recently, Slouken announced an exciting new addition to the functionality of macros in WoW 2.0, a set of conditional options for the '/cast', '/use', '/target', '/focus', '/assist', '/stopmacro' and '/cancelaura' slash commands. This post is intended to be a "How-To" guide on using them.

NOTE: While most of the examples given are done using '/cast', these options are available to all the slash commands listed above.

Understand that most current macros will be obsolete in 2.0. Just about anything using CastSpellByName() or TargetUnit() will be non-functional in combat. In addition, most 'dumb logic' macros will not work either. However, you can now replicate the functionality of many popular macros with these new Macro Options.

Currently, using '/cast' is very simple. The command format is '/cast <spellname>' (which casts the highest rank of the listed spell), or '/cast <spellname>(Rank <#>)'. Some examples:

/cast Greater Heal
/cast Arcane Intellect(Rank 3)


In the new system, this format still works just the same, however you can now add options to give more flexibility to your /cast statements. The new command format for '/cast' is: '/cast [<first set of options>] <first spellname>; [<second set of options>] <second spellname> ; [<third set of options>] <third spellname>; ...

The way a macro works now is like this: The first set of options is checked. If they are true, then the first spell is cast. If they are false, the next set of options is evaluated, and if true, the next spell is cast, and so on. However, you must keep in mind that only one spell will be cast. As soon as a set of options evaluates to true, the game will cast the corresponding spell, and that line of the macro will be done.

The current options available to players are:
  • help - Evaluates 'true' if target is friendly

  • harm - Evaluates 'true' if target is hostile

  • combat - Evaluates 'true' if you are in combat.

  • stance or stance:# - Evaluates 'true' if you are in a stance, or are in a particular stance (see below)

  • stealth - Evaluates 'true' if you are stealthed.

  • modifier or modifier:shift|ctrl|alt - Evaluates 'true' if the selected key is held down when the command is executed.

  • dummy - always evaluates to 'false'; used for fooling the macro into showing you info for a particular spell.

  • equipped:<item> - Evaluates 'true' if item is equipped. Item can be any valid inventory slot, item class or item subclass.

  • target=<unit> - Special option. It changes the target from the default of "target" to any valid unitid. (see below)

  • actionbar:<number> - Evaluates 'true' if the current actionbar is the same as the listed one.


  • NEW OPTIONS:
  • pet:<pet type OR pet name> - Evaluates 'true' if the pet exists. Takes pet type (Owl, Bear, Imp) or pet name (Fluffy, MrBigglesworth). With no modifier (i.e. just [pet]) it evaluates 'true' if ANY pet exists.

  • mounted, swimming, flying - Evaluates 'true' if you are mounted, swimming, or flying, respectively.

  • indoors, outdoors - Evaluates 'true' if you are indoors or outdoors, respectively.


  • New Macro Command
    ---------------------------
    /castsequence - Casts a predetermines set of spells in sequence (See Below)

    Some additional tricks you can do with the options:
    You can add 'no' to the beginning of any option (except target) to invert it, i.e. 'nocombat' will only work if you are NOT in combat.
    Seperating options with a comma ',' will act like an 'and' statement; if both options are true, it executes.
    Seperating options with a slash '/' will act like an 'or' statement; if either option is true, it executes.

    Here are some examples to help:

    /cast Greater Heal
    Very simple macro which casts Greater Heal on your target.

    /cast [help] Greater Heal
    One option added. Will cast Greater Heal IF the target is friendly.

    /cast [help] Greater Heal; Smite
    Second spell added. Since it has no option added to it, it will be cast any time the first option fails.

    /cast [help, combat] Flash Heal; [help, nocombat] Greater Heal; Smite
    This macro will cast Flash Heal on a friendly target if you (not the target) are in combat. If you are not in combat and the target is friendly, it will cast Greater Heal. If neither of these is true (i.e. the target is not friendly) it will cast Smite.

    /cast [help] Greater Heal; [harm, combat] Smite; [harm, nocombat] Mind Flay
    This will cast Greater Heal on a friendly target, or Smite if the player is in combat, or Mind Flay if the player is not in combat.

    [ Post edited by Neuro ]



      http://forums.worldofwarcraft.com/thread.html?topicId=44757854&pageNo=1&sid=1#0
     
    Poster: Slouken at 2006-11-12 21:04:19
    Subject: Re: Neuro's Macro Guide for WoW 2.0
      
    We're still working on it. :)

      http://forums.worldofwarcraft.com/thread.html?topicId=44757854&pageNo=6&sid=1#117
    Poster: Neuro at 2006-11-07 17:12:58
    Subject: Neuro's Macro Guide for WoW 2.0
      
    (Author's Note: WoW 2.0 is still in Beta, and as such, these options can change at any time.)

    In WoW 2.0, macros and addons will drastically change. Recently, Slouken announced an exciting new addition to the functionality of macros in WoW 2.0, a set of conditional options for the /cast, /use, /target, /focus, /assist, /stopmacro, /cancelaura, /userandom, /castrandom, and /castsequence slash commands. This post is intended to be a "How-To" guide on using them.

    NOTE: While most of the examples given are done using '/cast', these options are available to all the slash commands listed above.

    Understand that most current macros will be obsolete in 2.0. Just about anything using CastSpellByName() or TargetUnit() will be non-functional in combat. In addition, most 'dumb logic' macros will not work either. However, you can now replicate the functionality of many popular macros with these new Macro Options.

    Currently, using '/cast' is very simple. The command format is '/cast <spellname>' (which casts the highest rank of the listed spell), or '/cast <spellname>(Rank <#>)'. Some examples:

    /cast Greater Heal
    /cast Arcane Intellect(Rank 3)


    In the new system, this format still works just the same, however you can now add options to give more flexibility to your /cast statements. The new command format for '/cast' is: '/cast [<first set of options>] <first spellname>; [<second set of options>] <second spellname> ; [<third set of options>] <third spellname>; ...

    The way a macro works now is like this: The first set of options is checked. If they are true, then the first spell is cast. If they are false, the next set of options is evaluated, and if true, the next spell is cast, and so on. However, you must keep in mind that only one spell will be cast. As soon as a set of options evaluates to true, the game will cast the corresponding spell, and that line of the macro will be done.

    The current options available to players are:
  • help - Evaluates 'true' if target is friendly

  • harm - Evaluates 'true' if target is hostile

  • combat - Evaluates 'true' if you are in combat.

  • stance or stance:# - Evaluates 'true' if you are in a stance, or are in a particular stance (see below)

  • stealth - Evaluates 'true' if you are stealthed.

  • modifier or modifier:shift|ctrl|alt - Evaluates 'true' if the selected key is held down when the command is executed.

  • equipped:<item> - Evaluates 'true' if item is equipped. Item can be any valid inventory slot, item class or item subclass.

  • target=<unit> - Special option. It changes the target from the default of "target" to any valid unitid. (see below)

  • actionbar:<number> - Evaluates 'true' if the current actionbar is the same as the listed one.


  • NEW OPTIONS:
  • pet:<pet type OR pet name> - Evaluates 'true' if the pet exists. Takes pet type (Owl, Bear, Imp) or pet name (Fluffy, MrBigglesworth). With no modifier (i.e. just [pet]) it evaluates 'true' if ANY pet exists.

  • mounted, swimming, flying - Evaluates 'true' if you are mounted, swimming, or flying, respectively.

  • indoors, outdoors - Evaluates 'true' if you are indoors or outdoors, respectively.

  • button:<#> - Evaluates 'true' if the selected button was used to 'click' the spell, defaults to 1 (see below).

  • channeling:<spell> - Evaluates true if you are channeling the spell listed. With no spell listed, it evaluates true if any spell is being channeled.

  • exists and dead - Evaluates true if your target is dead, or actually exists.


  • New Macro Command
    ---------------------------
    /castsequence - Casts a predetermines set of spells in sequence (See Below)
    # show <spell>- Shows macro feedback for the listed spell

    Some additional tricks you can do with the options:
    You can add 'no' to the beginning of any option (except target) to invert it, i.e. 'nocombat' will only work if you are NOT in combat.
    Seperating options with a comma ',' will act like an 'and' statement; if both options are true, it executes.
    Seperating options with a slash '/' will act like an 'or' statement; if either option is true, it executes.
    Selecting the '?' Icon in the Macro Editor will force the macro to present the icon of the current spell that spell feedback is being given for.

    [ Post edited by Neuro ]



      http://forums.worldofwarcraft.com/thread.html?topicId=44757854&pageNo=1&sid=1#0
     
    Poster: Slouken at 2006-11-15 14:19:45
    Subject: Re: Neuro's Macro Guide for WoW 2.0
      

    Q u o t e:
    When I try to use [modifier:shift] it doesn't works because shift click picks up the icon rather than activating the button. Is it necessary to lock the action bar to get this one to work?


    No, this is fixed for 2.0 release.

      http://forums.worldofwarcraft.com/thread.html?topicId=44757854&pageNo=8&sid=1#155
    Poster: Slouken at 2006-11-15 18:05:55
    Subject: Re: Neuro's Macro Guide for WoW 2.0
      

    Q u o t e:
    I've been unable to locate this question mark icon in the macro editor on the PTR. Is this not in the PTR build yet? Will it be in before the expansion? Can I access it by editing my macro file from outside the game?


    It's not in the PTR build yet, but it will be in for 2.0 release.

      http://forums.worldofwarcraft.com/thread.html?topicId=44757854&pageNo=9&sid=1#166
    Poster: Slouken at 2006-11-15 19:26:42
    Subject: Re: Neuro's Macro Guide for WoW 2.0
      
    This PTR is a prerelease version of 2.0.1, which will be the content release before the Burning Crusade.

    The Beta is a closed beta prerelease version of 2.0.2, which will go live for all players when the Burning Crusade is released, and includes Burning Crusade expansion content.

      http://forums.worldofwarcraft.com/thread.html?topicId=44757854&pageNo=9&sid=1#168
    Poster: Slouken at 2006-11-15 19:47:05
    Subject: Re: Neuro's Macro Guide for WoW 2.0
      

    Q u o t e:

    one thing tho that has not been answered is the /cast sequence command that if one event fails will it reset the sequence or just move on or stick?


    The sequence will advance if the spell successfully casts (e.g. UNIT_SPELL_SUCCEEDED fired for it)
    If there are no reset conditions and the spell doesn't succeed, it will stick there.

      http://forums.worldofwarcraft.com/thread.html?topicId=44757854&pageNo=9&sid=1#170
    Poster: Slouken at 2006-11-16 08:23:07
    Subject: Re: Neuro's Macro Guide for WoW 2.0
      

    Q u o t e:

    I have a question about the timer reset that you have put in the macro. Is that timer a reset from initial press of the macro, or from the last time the macro is pressed.



    It's an idle timeout, so it's the time since the last click of the button

      http://forums.worldofwarcraft.com/thread.html?topicId=44757854&pageNo=9&sid=1#178
    Poster: Slouken at 2006-11-16 11:10:50
    Subject: Re: Neuro's Macro Guide for WoW 2.0
      
    Currently if you try to cast Frost Nova it will always cast the player version. I've let the designers know about the problem, and they hope to have it fixed for the Burning Crusade release.

      http://forums.worldofwarcraft.com/thread.html?topicId=44757854&pageNo=10&sid=1#181
    Poster: Slouken at 2006-11-16 17:18:35
    Subject: Re: Neuro's Macro Guide for WoW 2.0
      

    Q u o t e:
    Can you make a /castsequence to buff the whole raid, such as:

    /castsequence [target=raid1] Mark of the Wild, [target=raid2] Mark of the Wild, [target=raid3] Mark of the Wild, etc


    No, you can't split up the options like that. The options are only available up front and apply to the whole sequence.

    e.g.
    /castsequence [target=raid1] Mark of the Wild, Mark of the Wild, Mark of the Wild
    well, that's silly, but you know what Imean.

      http://forums.worldofwarcraft.com/thread.html?topicId=44757854&pageNo=10&sid=1#199
    Poster: Slouken at 2006-11-17 09:48:24
    Subject: Re: Neuro's Macro Guide for WoW 2.0
      

    Q u o t e:

    It doesn't seems to be possible to use a conditional sequence based on Stance... If Stance:x then sequenceA, if stance:y then sequenceB


    This will work in 2.0 release:
    /castsequence [indoors] A, B, C; [outdoors] D, E, F

      http://forums.worldofwarcraft.com/thread.html?topicId=44757854&pageNo=12&sid=1#229
    Poster: Slouken at 2006-11-17 16:26:26
    Subject: Re: Neuro's Macro Guide for WoW 2.0
      

    Q u o t e:

    So, could I use the macro "/castsequence [modifier:alt,harm] Amplify Curse; [harm] reset=combat/target Corruption, Immolate, Curse of Agony"?



    Yes. In effect, when you do that you have two independent sequences that are running from the same macro, depending on whether you're holding down the alt key. You will definitely confuse the icon feedback if you're using that, but it should work the way you expect.


    Q u o t e:
    I guess my question about "/castsequence" is, if a spell is unusable will the macro halt at the unusable spell and never be able to pass it, or will it not cast the spell and when you use the macro again use the next spell in the sequence?


    The sequence which contains the failing spell is blocked until the sequence succeeds or is reset. When you put conditionals on /castsequence, you're essentially managing multiple simultaneous sequences, as I mentioned above, and they'll be blocked independently.


    Q u o t e:
    Also, is "/castsequence" limited to 3 spells per set of options?


    No, you can sequence any number of spells or items, within the macro text limit.

    Good questions, BTW. :)

    [ Post edited by Slouken ]



      http://forums.worldofwarcraft.com/thread.html?topicId=44757854&pageNo=13&sid=1#254
    Poster: Slouken at 2006-11-19 09:16:06
    Subject: Re: Neuro's Macro Guide for WoW 2.0
      
    It's a bug, thanks!

      http://forums.worldofwarcraft.com/thread.html?topicId=44757854&pageNo=15&sid=1#281
    Poster: Slouken at 2006-11-20 09:27:33
    Subject: Re: Neuro's Macro Guide for WoW 2.0
      

    Q u o t e:
    I've got a castsequence issue that I need some help with. Here's the sequence that I'm trying to run:

    /castsequence reset=target Rake, Faerie Fire (Feral)(), Claw, Claw, Rip



    You just need to specify the rank of Faerie Fire. The easiest way to do this is to shift-click it in your spell book while you are editing your macro.

      http://forums.worldofwarcraft.com/thread.html?topicId=44757854&pageNo=15&sid=1#292
    Poster: Slouken at 2006-11-20 12:55:20
    Subject: Re: Neuro's Macro Guide for WoW 2.0
      

    Q u o t e:

    Now how would I go about the actionbar switching?

    It needs to bring up actionbar 2 if Shift key is down, actionbar 3 if Ctrl key is down and if both or neither are down actionbar 1.



    /changeactionbar [modifier:shift] 2; [modifier:ctrl] 3; 1


    Q u o t e:

    Edit #1: In addition, I used to be able to define local variables as such:

    /script t,T,p,C,s,U = "target", "targettarget", "player", CastSpellByName, Flash Heal, TargetUnit

    This allowed me to replace redundant strings with the local variable cutting down the size of text length of the macro. Am I correct that this is no longer possible for combat macros?



    That's correct.

      http://forums.worldofwarcraft.com/thread.html?topicId=44757854&pageNo=16&sid=1#306
    Poster: Slouken at 2006-11-21 18:45:04
    Subject: Re: Castsequence
      
    You can mix item names and spells in all the cast variants, e.g. /cast, /castrandom, /castsequence

    Edit: or _will_ be able to mix them. :)

    [ Post edited by Slouken ]



      http://forums.worldofwarcraft.com/thread.html?topicId=44757854&pageNo=17&sid=1#331
    Poster: Slouken at 2006-11-21 20:09:09
    Subject: Re: Castsequence
      

    Q u o t e:
    1) Thank you



    You're welcome! :)


    Q u o t e:

    2) Do you ever sleep!?



    Plenty of time to sleep after the Burning Crusade is released! ;-)

      http://forums.worldofwarcraft.com/thread.html?topicId=44757854&pageNo=17&sid=1#333
    Poster: Slouken at 2006-11-22 10:39:54
    Subject: Re: Neuro's Macro Guide for WoW 2.0
      

    Q u o t e:

    /cast [target=sajuukkhar] devour magic

    Cause the felhunter to devour me and continue attacking it's previous target?



    You want:
    /cast [target=player] devour magic

      http://forums.worldofwarcraft.com/thread.html?topicId=44757854&pageNo=18&sid=1#343
    Poster: Slouken at 2006-11-23 08:39:53
    Subject: Re: Neuro's Macro Guide for WoW 2.0
      

    Q u o t e:

    ok thx man, so the macro;
    /target player
    /use(4,1)
    should work in the patch ?


    Almost...
    /use [target=player] 4 1

      http://forums.worldofwarcraft.com/thread.html?topicId=44757854&pageNo=18&sid=1#358
    Poster: Slouken at 2006-11-23 19:57:48
    Subject: Re: Neuro's Macro Guide for WoW 2.0
      

    Q u o t e:
    I was reading through and couldn't find an example to cast a spell then use an item in a cast sequence

    effectively the spell would be something like this

    /castsequence reset=3600 Divine Shield, Hearthstone

    or even

    /castsequence reset=300 Divine Shield, Heavy Neatherweave Bandage



    Yes, either of those should work.

      http://forums.worldofwarcraft.com/thread.html?topicId=44757854&pageNo=19&sid=1#374
    Poster: Slouken at 2006-11-24 08:19:20
    Subject: Re: "OR" operator doesn't work in macros?
      

    Q u o t e:
    I can't seem to get the "OR" operator to work in macro conditionals. Can't you use a slash to designate OR? At least, I thought I read it somewhere.. I made this test macro to see what happens:

    /stopmacro [button:2/modifier]
    /say Testing.

    If I use "button:2" or "modifier" instead of "button:2/modifier" it properly stops the macro when I'm either right-clicking or holding down a modifier key. As it stands now, it only stops the macro if I right-click. If I reverse the order (to "modifier/button:2") I get an interface error ("Unknown option: modifier/button"), which makes me think this simply isn't implemented. Am I mistaken in thinking this option was available?


    The / is only used to separate arguments to a single option, e.g.
    /stopmacro [button:1/2]

    If you want separate conditionals, you can do:
    /stopmacro [button:2]
    /stopmacro [modifier]

    [ Post edited by Slouken ]



      http://forums.worldofwarcraft.com/thread.html?topicId=44757854&pageNo=19&sid=1#378
    Poster: Slouken at 2006-11-24 21:55:39
    Subject: Re: Neuro's Macro Guide for WoW 2.0
      

    Q u o t e:
    I have been playing with some macros and was wondering if using the shift/ctrl/alt modifiers required the casts to be on one line? I tried the below macro and would get the error, that ability is busy or something like that.

    /cast [modifier:ctrl] Aspect of the Cheetah
    /cast [modifier:alt] Aspect of the Monkey
    /cast Aspect of the Hawk



    You want this:
    /cast [modifier:ctrl] Aspect of the Cheetah
    /cast [modifier:alt] Aspect of the Monkey
    /cast [nomodifier] Aspect of the Hawk

      http://forums.worldofwarcraft.com/thread.html?topicId=44757854&pageNo=20&sid=1#385
    Poster: Slouken at 2006-11-29 08:23:11
    Subject: Re: Neuro's Macro Guide for WoW 2.0
      

    Q u o t e:
    I'm having a problem with two macros.

    1) If target is friendly, cast Abolish Poison on them, else if the target is hostile cast Abolish poison on myself.

    /cast [help] Abolish Poison; [target=player,harm] Abolish Poison

    This won't cast on my self, but works for friendly targets.



    You want this:
    /cast [help] Abolish Poison; [target=player] Abolish Poison

    The conditional applies to the target set for the spell, since you can't ever harm yourself, the second condition was never met.


    Q u o t e:

    2) If stealthed Ravage, else Shred

    /cast [stealthed] Ravage; Shred

    Can I make the Icon change to reflect the current spell that would be used using the "?" icon?



    Nope, you have to pick one. :)

      http://forums.worldofwarcraft.com/thread.html?topicId=44757854&pageNo=22&sid=1#438
    Poster: Slouken at 2006-11-29 10:10:37
    Subject: Re: Neuro's Macro Guide for WoW 2.0
      
    Neuro, can you fix this?

    Q u o t e:

    Seperating options with a comma ',' will act like an 'and' statement; if both options are true, it executes.
    Seperating options with a slash '/' will act like an 'or' statement; if either option is true, it executes.



    That's not entirely true. Separating options with a comma works as described, but you can't separate options with a slash. What you can do is separate option arguments with a slash.

    e.g.
    [button:1/2,nomodifier]

    This will evaluate to true if button 1 or button 2 is pressed AND no modifier keys are pressed.

      http://forums.worldofwarcraft.com/thread.html?topicId=44757854&pageNo=23&sid=1#442
    Poster: Neuro at 2006-11-07 17:12:58
    Subject: Neuro's Macro Guide for WoW 2.0
      
    (Author's Note: WoW 2.0 is still in Beta, and as such, these options can change at any time.)

    In WoW 2.0, macros and addons will drastically change. Recently, Slouken announced an exciting new addition to the functionality of macros in WoW 2.0, a set of conditional options for the /cast, /use, /target, /focus, /assist, /stopmacro, /cancelaura, /userandom, /castrandom, and /castsequence slash commands. This post is intended to be a "How-To" guide on using them.

    NOTE: While most of the examples given are done using '/cast', these options are available to all the slash commands listed above.

    Understand that most current macros will be obsolete in 2.0. Just about anything using CastSpellByName() or TargetUnit() will be non-functional in combat. In addition, most 'dumb logic' macros will not work either. However, you can now replicate the functionality of many popular macros with these new Macro Options.

    Currently, using '/cast' is very simple. The command format is '/cast <spellname>' (which casts the highest rank of the listed spell), or '/cast <spellname>(Rank <#>)'. Some examples:

    /cast Greater Heal
    /cast Arcane Intellect(Rank 3)


    In the new system, this format still works just the same, however you can now add options to give more flexibility to your /cast statements. The new command format for '/cast' is: '/cast [<first set of options>] <first spellname>; [<second set of options>] <second spellname> ; [<third set of options>] <third spellname>; ...

    The way a macro works now is like this: The first set of options is checked. If they are true, then the first spell is cast. If they are false, the next set of options is evaluated, and if true, the next spell is cast, and so on. However, you must keep in mind that only one spell will be cast. As soon as a set of options evaluates to true, the game will cast the corresponding spell, and that line of the macro will be done.

    The current options available to players are:
  • help - Evaluates 'true' if target is friendly

  • harm - Evaluates 'true' if target is hostile

  • combat - Evaluates 'true' if you are in combat.

  • stance or stance:# - Evaluates 'true' if you are in a stance, or are in a particular stance (see below)

  • stealth - Evaluates 'true' if you are stealthed.

  • modifier or modifier:shift|ctrl|alt - Evaluates 'true' if the selected key is held down when the command is executed.

  • equipped:<item> - Evaluates 'true' if item is equipped. Item can be any valid inventory slot, item class or item subclass.

  • target=<unit> - Special option. It changes the target from the default of "target" to any valid unitid. (see below)

  • actionbar:<number> - Evaluates 'true' if the current actionbar is the same as the listed one.


  • NEW OPTIONS:
  • pet:<pet type OR pet name> - Evaluates 'true' if the pet exists. Takes pet type (Owl, Bear, Imp) or pet name (Fluffy, MrBigglesworth). With no modifier (i.e. just [pet]) it evaluates 'true' if ANY pet exists.

  • mounted, swimming, flying - Evaluates 'true' if you are mounted, swimming, or flying, respectively.

  • indoors, outdoors - Evaluates 'true' if you are indoors or outdoors, respectively.

  • button:<#> - Evaluates 'true' if the selected button was used to 'click' the spell, defaults to 1 (see below).

  • channeling:<spell> - Evaluates true if you are channeling the spell listed. With no spell listed, it evaluates true if any spell is being channeled.

  • exists and dead - Evaluates true if your target is dead, or actually exists.


  • New Macro Command
    ---------------------------
    /castsequence - Casts a predetermines set of spells in sequence (See Below)
    # show <spell>- Shows macro feedback for the listed spell

    Some additional tricks you can do with the options:
    You can add 'no' to the beginning of any option (except target) to invert it, i.e. 'nocombat' will only work if you are NOT in combat.
    Seperating options with a comma ',' will act like an 'and' statement; if both options are true, it executes.
    Seperating arguments within an option with a slash '/' will act like an 'or' statement; if either argument is true, it executes. Note that this works only on the arguments within an option, NOT between the options themselves (So while [stance:1/2] is valid, [combat/help] is not).
    Selecting the '?' Icon in the Macro Editor will force the macro to present the icon of the current spell that spell feedback is being given for.

    [ Post edited by Neuro ]



      http://forums.worldofwarcraft.com/thread.html?topicId=44757854&pageNo=1&sid=1#0
     
    Poster: Neuro at 2006-11-07 17:12:58
    Subject: Neuro's Macro Guide for WoW 2.0
      
    (Author's Note: WoW 2.0 is still in Beta, and as such, these options can change at any time.)

    In WoW 2.0, macros and addons will drastically change. Recently, Slouken announced an exciting new addition to the functionality of macros in WoW 2.0, a set of conditional options for the /cast, /use, /target, /focus, /assist, /stopmacro, /cancelaura, /userandom, /castrandom, and /castsequence slash commands. This post is intended to be a "How-To" guide on using them.

    NOTE: While most of the examples given are done using '/cast', these options are available to all the slash commands listed above.

    Understand that most current macros will be obsolete in 2.0. Just about anything using CastSpellByName() or TargetUnit() will be non-functional in combat. In addition, most 'dumb logic' macros will not work either. However, you can now replicate the functionality of many popular macros with these new Macro Options.

    Currently, using '/cast' is very simple. The command format is '/cast <spellname>' (which casts the highest rank of the listed spell), or '/cast <spellname>(Rank <#>)'. Some examples:

    /cast Greater Heal
    /cast Arcane Intellect(Rank 3)


    In the new system, this format still works just the same, however you can now add options to give more flexibility to your /cast statements. The new command format for '/cast' is: '/cast [<first set of options>] <first spellname>; [<second set of options>] <second spellname> ; [<third set of options>] <third spellname>; ...

    The way a macro works now is like this: The first set of options is checked. If they are true, then the first spell is cast. If they are false, the next set of options is evaluated, and if true, the next spell is cast, and so on. However, you must keep in mind that only one spell will be cast. As soon as a set of options evaluates to true, the game will cast the corresponding spell, and that line of the macro will be done.

    The current options available to players are:
  • help - Evaluates 'true' if target is friendly

  • harm - Evaluates 'true' if target is hostile

  • combat - Evaluates 'true' if you are in combat.

  • stance or stance:# - Evaluates 'true' if you are in a stance, or are in a particular stance (see below)

  • stealth - Evaluates 'true' if you are stealthed.

  • modifier or modifier:shift|ctrl|alt - Evaluates 'true' if the selected key is held down when the command is executed.

  • equipped:<item> - Evaluates 'true' if item is equipped. Item can be any valid inventory slot, item class or item subclass.

  • target=<unit> - Special option. It changes the target from the default of "target" to any valid unitid. (see below)

  • actionbar:<number> - Evaluates 'true' if the current actionbar is the same as the listed one.


  • NEW OPTIONS:
  • pet:<pet type OR pet name> - Evaluates 'true' if the pet exists. Takes pet type (Owl, Bear, Imp) or pet name (Fluffy, MrBigglesworth). With no modifier (i.e. just [pet]) it evaluates 'true' if ANY pet exists.

  • mounted, swimming, flying - Evaluates 'true' if you are mounted, swimming, or flying, respectively.

  • indoors, outdoors - Evaluates 'true' if you are indoors or outdoors, respectively.

  • button:<#> - Evaluates 'true' if the selected button was used to 'click' the spell, defaults to 1 (see below).

  • channeling:<spell> - Evaluates true if you are channeling the spell listed. With no spell listed, it evaluates true if any spell is being channeled.

  • exists and dead - Evaluates true if your target is dead, or actually exists.

  • party - evaluates true if the target is a member of your party

  • raid - evaluates true if the target is a member of your party or raid

  • group - evaluates true if you are in a group

  • group:party/raid - evaluates true if you are in the specified type of group


  • New Macro Command
    ---------------------------
    /castsequence - Casts a predetermines set of spells in sequence (See Below)
    # show <spell>- Shows macro feedback for the listed spell

    Some additional tricks you can do with the options:
    You can add 'no' to the beginning of any option (except target) to invert it, i.e. 'nocombat' will only work if you are NOT in combat.
    Seperating options with a comma ',' will act like an 'and' statement; if both options are true, it executes.
    Seperating arguments within an option with a slash '/' will act like an 'or' statement; if either argument is true, it executes. Note that this works only on the arguments within an option, NOT between the options themselves (So while [stance:1/2] is valid, [combat/help] is not).
    Selecting the '?' Icon in the Macro Editor will force the macro to present the icon of the current spell that spell feedback is being given for.

    [ Post edited by Neuro ]



      http://forums.worldofwarcraft.com/thread.html?topicId=44757854&pageNo=1&sid=1#0
     
    Poster: Slouken at 2006-12-02 08:36:00
    Subject: Re: Neuro's Macro Guide for WoW 2.0
      

    Q u o t e:
    Is this possible in the new macro system?

    1 Icon

    Left Click Sets Focus, Banish
    Right Click Re-Banish Focus Target

    So when I use it, works like:

    Target Mob, Left Click, Banished… Change Targets, Start doing damage, Banish breaks, Right Click first icon, re-cast Banish without changing my current target?

    Tried

    /focus
    /cast Banish
    /cast [target=focus, button:2] Banish

    Did not work, when I right clicked, banished my current, not the focused


    You almost got it:
    /focus [button:1]
    /cast [button:1] Banish
    /cast [button:2,target=focus] Banish

      http://forums.worldofwarcraft.com/thread.html?topicId=44757854&pageNo=25&sid=1#485
    Poster: Slouken at 2006-12-02 09:13:40
    Subject: Re: Neuro's Macro Guide for WoW 2.0
      
    You're welcome! :)

      http://forums.worldofwarcraft.com/thread.html?topicId=44757854&pageNo=25&sid=1#487
    Poster: Slouken at 2006-12-02 12:54:16
    Subject: Re: Castsequence
      

    Q u o t e:
    I posted this in the Druid forum i beleive but i cannot find that post so ill add it here. Someone else earlier was having a similar problem to this with bloodthirst and whirlwind.

    /castsequence reset=6 Mangle (Bear)(), Maul

    Will never cast maul. The mangle goes off fine, but the entire button appears to go on cooldown with mangle and will not move on to the next spell in the sequence.



    Yes, this should be fixed for 2.0.1 release.


    Q u o t e:

    Additionall, the [reset=N] condition doesnt work as intuitively as it seems.



    If you think of it as an idle timeout, you'll find it works perfectly. :)

      http://forums.worldofwarcraft.com/thread.html?topicId=44757854&pageNo=25&sid=1#490
    Poster: Slouken at 2006-12-02 12:54:16
    Subject: Re: Castsequence
      

    Q u o t e:
    I posted this in the Druid forum i beleive but i cannot find that post so ill add it here. Someone else earlier was having a similar problem to this with bloodthirst and whirlwind.

    /castsequence reset=6 Mangle (Bear)(), Maul

    Will never cast maul. The mangle goes off fine, but the entire button appears to go on cooldown with mangle and will not move on to the next spell in the sequence.



    Yes, this should be fixed for 2.0.1 release.


    Q u o t e:

    Additionall, the [reset=N] condition doesnt work as intuitively as it seems.



    If you think of it as an idle timeout, you'll find it works perfectly. :)
    It works really well for things where you want a short timeout to reset the sequence at any point. It's not designed to allow you to cast something else while the first thing is on cooldown.

    [ Post edited by Slouken ]



      http://forums.worldofwarcraft.com/thread.html?topicId=44757854&pageNo=25&sid=1#490
     

    Is this thread News or Fluff? You Decide!
    News!
    - OR -
    Fluff!
    What are you talking about?

    View all recent official Blue Posts

    WoW Blue Tracker: Archiving World of Warcraft Blue Posts
    since March 2005
    Home | RSS | News | Contact
    Recent | Search | Archive | CS Posts
     

    Why Ads?