You can set variables via scripts, but you can't use variables in protected commands like /target. If you have a macro you'd like to shrink down, I would post it here or on the WoW UI forum, and people could help you do what you want to do within the 255 limit. Or a small addon could be written to do what you want.
If I push this macro with the left mouse button it will cast Regrowth, Renew, Swiftmend, and Lifebloom depending on which modifier (shift, alt, crtl, none) is held, on my target if it exists, or the target I am hovering over.
If I push it with the right mouse button, it will do the same except on my focus target.
If I push it with the middle mouse button it will clear the target.
With button 4, and any/no modifier it will Nature's swiftness Healing Touch/Regrowth my target/mouseover
With button 5, and any/no modifier it will Nature's swiftness Healing Touch/Regrowth my focus.
This will allow me to assign 4 players to this macro and then heal them based on the button I press the macro with casting Regrowth, Renew, Swiftmend, Lifebloom on them depending on the modifier. The with button may be used with a modifier as a panic heal.
I could split them up with lots of /clicks but (1) I don't like that and (2) I'm not quite certain how to pass along all the modifier and button info.
For your first macro, I would just split it up into 4 macros.
One for regrowth (keybind to shift+btn1)
One for renew (keybind to alt+btn1)
...
etc
I can understand not wanting multiple macros on an action bar, but there are many ways around that. (bindpad being my favorite)
Without all the modifiers the macros also become very simple.
The last one ... If it is for party member healing you could use [target=party1] (full list of unit id's here) Although, you can certainly target by name.
I can't help but notice that you've got a lot of mouseover options in a macro that looks like it is meant to be clicked. I don't understand how this would work, if it does.
From what I can see, there is no restriction on macro length when you build your own buttons. For obvious reasons, that requires you to make an addon - I have attached an example to help out with this.
There should be addons that do this for you in a better way, mine is a pretty brute-force proposition with no per-character macros (that can be easily added, though).
Maximum length of a macro in this fashion seems to be in the neighborhood of 3700 (I think) characters. Limit yourself to 3000 and use the branching macro trick described in the WoW Wiki if you need more.
To add your own macros, edit the YourCustomMacros.lua file - I have commented out two test macros.
Hope this helps.
EDIT:
Updated to less buggy 1.1 version.
Last edited by sarf : 10/10/08 at 5:25 PM.
Originally Posted by Wraithlin
Do your hospitals have unusually narrow doorways?
If not how do "lifestyle choices" explain the waiting time statistics?
Switching between a resto and balance build, I'd like to have a single keybinding that activates the appropriate talented form. Is there a way to determine within a macro if a given skill/spell is known? Alternately, is there a way to activate a form based on the stance number? Both Tree of Life and Moonkin Form are stance:5.
Switching between a resto and balance build, I'd like to have a single keybinding that activates the appropriate talented form. Is there a way to determine within a macro if a given skill/spell is known? Alternately, is there a way to activate a form based on the stance number? Both Tree of Life and Moonkin Form are stance:5.
For the first question - probably not. You should get an addon similar to I Have Macro Lol that changes the macro contents when you re-talent (not hard to code, but probably not out there).
The answer is yes to your second question, if I understand it correctly. stance:5 can be used as a conditional in a macro, and hence can be used to do a specific action/spell in a specific form/stance.
EDIT:
Attached a lua file with a very rough version that should nonetheless work. It is based on you not getting beyond tier 7 in more than one tree. Check it out if you want a base for a real addon.
Last edited by sarf : 10/10/08 at 1:44 PM.
Originally Posted by Wraithlin
Do your hospitals have unusually narrow doorways?
If not how do "lifestyle choices" explain the waiting time statistics?
Well my first night as resto on M'uru turned into a bomb. My macros failed me and I couldn't get into a rhythm with clique. But I don't think I did terrible for my first night ever as resto (dyed in the wool, pre 1.8 feral signing in).
But all is not lost, I think I have the solution! But to do it I need for [] options to work in /castsequence. Is this the case?
Task: Keep full hots up on 2 targets
Solution:
Focus one, and target the other. Spam the following macro
I can't help but notice that you've got a lot of mouseover options in a macro that looks like it is meant to be clicked. I don't understand how this would work, if it does.
The modifier works with keybinds as well. If you have 'B' bound to a macro, and the macro has a shift modifier doing shift+'B' will trigger the modifier in the macro. (assuming you do not have shift+b bound to another action button)
The answer is yes to your second question, if I understand it correctly. stance:5 can be used as a conditional in a macro, and hence can be used to do a specific action/spell in a specific form/stance..
I'm aware of [stance], but was hoping there was some syntax that allowed it to be used as a shortcut form to cast a form (ie, "/cast stance:5" instead of "/cast Moonkin Form").
Switching between a resto and balance build, I'd like to have a single keybinding that activates the appropriate talented form.
If I understood correctly what you are after, the following should work. Makes you moonkin when you're specced balance and tree when specced resto. I'm in the same situation too, regularly switching between resto and balance and have my talented form bound to one key. I have the ! in front of the form names so I can hit it again to clear roots and snares without breaking the form.
I'm looking for a macro that will spam frostbolt (when i press it) but when Brain Freeze procs it will shoot a fireball, then return to frostbolts?
Is it possible?
Thanks alot!
Sakue
Nope, can't check your buffs when deciding what spell to cast in a macro - you're going to have to react and do this yourself. Even if macros could do this, it would probably show up right after you start your next cast, too late for your client to cast a different spell, as you're already in a GCD.
Before the patch I had two macros that where /userandom and a list of either all my ground mounts or all my flying mounts. With the change to the mounts, not only did that stop working but I couldn't get a /cast Mount to work, /use Mount to work (even tried /mount Mount). Did this macro die on me? Because I enjoy the random Mount.
Before the patch I had two macros that where /userandom and a list of either all my ground mounts or all my flying mounts. With the change to the mounts, not only did that stop working but I couldn't get a /cast Mount to work, /use Mount to work (even tried /mount Mount). Did this macro die on me? Because I enjoy the random Mount.
There is an addon that will add a new command for you, /mount and /mountrandom (as well as versions for vanity pets) - I assume it was wrote due to this change.
Before the patch I had two macros that where /userandom and a list of either all my ground mounts or all my flying mounts. With the change to the mounts, not only did that stop working but I couldn't get a /cast Mount to work, /use Mount to work (even tried /mount Mount). Did this macro die on me? Because I enjoy the random Mount.
Userandom still works. You might have to redo it though if you are using the same old macro because the names of the mounts have changed slightly in some cases. As have some of the names of the non-combat pets if you used a macro for those as well.
"I've always wondered what it'd be like to have a prehensile penis, but you don't see me shitting up this thread with my idea." - Kaubel
You can use that macro with a littlie exception, that you can't use paladin summon spell for it to work due to GCD.
/cast [nocombat, nomounted] !Crusader Aura; [mounted] !Concentration Aura;
/cast [flyable, nocombat, nomounted] Swift Purple Windrider; [nocombat, nomounted] Blue Hawkstrider;
/dismount
This macro doesn't seem to work anymore with the 3.0 patch : it switches to Crusader Aura but doesn't cast your mount.
The dismount part with concentration aura works yet.
I've specced for heroic fury and now I'm racking my brain on how to incorporate it in my epic charge/intercept/intervene macro. Right now the macro is very natural - if target is in my group intervene or defensive stance, if out of combat charge or battle stance, else intercept or zerker stance. Just recreating it sort of looks like this:
What I'm hoping to do is cast heroic fury if and only if I had just intercepted. Stances and charge/intercept/intervene are off GCD and heroic fury is on, so it's at least theoretically possible to put them on the same button press even, but the more I think about it the more I come to conclusion that I'll have to have a separate button for it. I thought about just adding /cast [intercept conditions] heroic fury after the original macro but that would burn it every time I use the macro to just go to zerker stance - that is I'm in combat but in deadzone so can't intercept - this happens every time I charge. What I'd really like to do is at the point of my macro where I actually intercept which is ...; [harm,stance:2] Intercept;... splice in a /castsequence [reset=30] Intercept, Heroic Fury - but I don't know if that's possible. It would make it two button presses, I don't mind that as long as it will burn heroic fury if and only if intercept was successful.
EDIT:
Originally Posted by Blöd
This macro doesn't seem to work anymore with the 3.0 patch : it switches to Crusader Aura but doesn't cast your mount.
The dismount part with concentration aura works yet.
The mount + crusader aura macros won't work anymore because all mounts are on GCD. Best you can do is cast sequence and then press the same button again for crusader aura after the mount gcd has finished.
EDIT2:
So after googling for stuff I'm now thinking whether something like this will work:
/castsequence [combat,harm,stance:2] reset=30 Intercept, Heroic Fury
/stopmacro [combat,harm,stance:2]
<rest of my macro minus the intercept part>
This macro doesn't seem to work anymore with the 3.0 patch : it switches to Crusader Aura but doesn't cast your mount.
The dismount part with concentration aura works yet.
Some of the mounts don't work properly if you've just learned the mount for the first time. A simple logout/login fixes it, then you should be able to do things like
I had been using the following focus target polymorph macro for raiding in BC. This macro was great because it allowed me to mark a focus target and polymorph it and then move on to the kill target. When my polymorph on my focus target is about to break, I can simply recast my macro and the focus target is polymorphed again, while I still have my kill target in my sights for dpsing. Part of getting this polymorph macro to work required the mod FocusFrames, but since patch 3.02 has added Blizzard's new focus frame mechanic, the old macro no longer works. I am not a macro master, so if any mage out there has figured out how to modify this macro so that it works with the current patch, I would be eternally grateful for that knowledge being shared. Here is the old macro that is apparantly broken with the new patch:
I'm a holy paladin and I've just starting using this tool tip macro
#showtooltip
/cast[mod,target=player][target=mouseover,help,nodead][help,nodead][nogroup,target=player][target=targettaget,help,nodead]Flash of Light
I want to add a command to this macro so when my courser is over nothing tt heals Me (selfcast) any suggestions? be easy this is my first post and I'm not a macro expert.
I'm a holy paladin and I've just starting using this tool tip macro
#showtooltip
/cast[mod,target=player][target=mouseover,help,nodead][help,nodead][nogroup,target=player][target=targettaget,help,nodead]Flash of Light
I want to add a command to this macro so when my courser is over nothing tt heals Me (selfcast) any suggestions? be easy this is my first post and I'm not a macro expert.
You can just add [target=player] as the last conditional.
If the macro you posted does everything you want but heal you, then I think the following would do for you:
#showtooltip
/cast[mod,target=player][target=mouseover,help,nodead][help,nodead][nogroup,target=player][target=targettaget,help,nodead][target=player] Flash of Light
Sooo, turns out you could technically fly in Dalaran, you just can't because it's a no fly zone.
That means that my otherwise very useful macro doesn't work there:
#showtooltip [flyable]Cenarion War Hippogryph; Armored Brown Bear
/cast [flyable]Cenarion War Hippogryph; Armored Brown Bear
It wants to pick the Hippogryph since it's outdoors in Northrend, but I get a "You can't use that here" error because the Dalaran government doesn't want us to fly. Is there any way around this?