I've found quite a nice macro, at least I thought so before trying to use it.
It doesn't work at all despite being posted as a "fixed version".
I already spent a few hours trying to get it work but without success. Any help would be very appreciated.
/run u="mouseover"s=UnitIsDead(u)and"Rebirth"or"Innervate" d=GetSpellCooldown(s),d==0 and IsSpellInRange(s,u)==1 and SendChatMessage("Casting "..s.." on "..UnitName(u)..”.”,"PARTY");
/cast [target=mouseover,nodead]Innervate;[target=mouseover]Rebirth
What is should do:
1. Check if Rebirth and Innervate is not on cooldown
2. Check if my mouseover target is in range
3. If "1" and "2" are true, cast innervate if target is not dead, cast rebirth if target is dead
4. Announce spell casting to my target with /w and on a custom channel (/6)
It would be used in a grid+clique combination (all targets are mousover).
I'm willing to install any addons (SuperMacro, AfterCast) if it would help making this macro to work.
I've found quite a nice macro, at least I thought so before trying to use it.
It doesn't work at all despite being posted as a "fixed version".
I already spent a few hours trying to get it work but without success. Any help would be very appreciated.
/run u="mouseover"s=UnitIsDead(u)and"Rebirth"or"Innervate" d=GetSpellCooldown(s),d==0 and IsSpellInRange(s,u)==1 and SendChatMessage("Casting "..s.." on "..UnitName(u)..”.”,"PARTY");
/cast [target=mouseover,nodead]Innervate;[target=mouseover]Rebirth
What is should do:
1. Check if Rebirth and Innervate is not on cooldown
2. Check if my mouseover target is in range
3. If "1" and "2" are true, cast innervate if target is not dead, cast rebirth if target is dead
4. Announce spell casting to my target with /w and on a custom channel (/6)
It would be used in a grid+clique combination (all targets are mousover).
I'm willing to install any addons (SuperMacro, AfterCast) if it would help making this macro to work.
Without using an add-on to break out of the macro space you can't check whether things are on cooldown or not. It isn't really an essential part of the macro though, perhaps you could just use a modifier key to achieve the same results.
Not a question, but a macro I just wrote in case you're not using a mod that automagically announces Heroism/Bloodlust cooldowns:
When you cast Heroism, it announces in raid: "Heroism is UP :: GROUP <whatever your # is>"
When Heroism runs out, it announces in raid: "Heroism is DOWN :: GROUP <whatever the group # was>"
/cast Heroism
/run a="Heroism is ";b=" :: GROUP ";for i=1,GetNumRaidMembers() do x,_,y=GetRaidRosterInfo(i);if(x=="Aerya")then g=y;break;end end;SendChatMessage(a.."UP"..b..g,"RAID",nil)
/in 40 /run SendChatMessage(a.."DOWN"..b..g,"RAID",nil)
Copy and paste that precisely into a macro, replacing "Aerya" with whatever your name is. It should be slightly under the max macro size if you have a 12 character name, which will give you a bit of leeway for how you want the macro to look.
Ok, this thread is an attempt to find a solution to a small, but quite irritating problem I've been having since I aquired the Hex Head as my second trinket along with the Icon.
I can't find a way to have the tooltip change to reflect the cooldown which matters, being the least.
The current macro im using is this:
#showtooltip Icon of the Silver Crescent
/use Hex Shrunken Head
/use Icon of the Silver Crescent
This means the first time I use the trinket the cooldown which appears is for 20 Seconds, which is correct. Then when this is up and I use the second trinket, the cooldown goes to 2 minutes, which is the one I don't want. What I need is for the tooltip to show the cooldown from the first trinket, the one with the smaller cooldown to appear, so I know exactly when it becomes available. It isn't terribly difficult to coordinate, if I get the luxury of using them both back to back, I can attempt to remember to simply press is again when it's showing 20 seconds remaining, although this can be tricky to remember as I tend to ignore things on CD by instinct. The real problem comes in when I can't use them back to back, so the coordination between the 2 cooldowns gets throw out the window, this means I have to go to my character screen and watch the first trinket cool. Although it may seem like a minor inconvience, it can be quite frustrating when you forget about it, which is quite easy.
The ideal solution would be a syntax which would work like this:
#showtooltip Icon of the Silver Crescent
/use Hex Shrunken Head
/use Icon of the Silver Crescent
(syntax to show tooltip from Hex Shrunken Head)
Alas, #showtooltip doesn't work, and as far as I'm aware TrinketMenu doesn't do this for you, plus I'm trying to keep this to a single button, not a whole addon!
So please! All you macro junkies out there save me!
Last edited by Thebeefe : 06/19/08 at 12:51 PM.
Reason: Typo
Not 100% sure (I can't log on and test this now...bloody work), but this should be what you're looking for:
Use the '?' icon - so far as I know this is the only way to ensure the icons shift automatically.
#showtooltip
/castsequence Hex Shrunken Head, Icon of the Silver Crescent
If you'd like to ensure that the Head gets used first if you happen to not use the Icon by then, the following line should work for that - simply replace line 2 with this:
/castsequence reset=120 Hex Shrunken Head, Icon of the Silver Crescent
(think I have the cooldown for the Head right...if it's not, change the number of seconds for the reset timer.)
Edit: If you're having problems remembering to use your trinkets, and simply want to blow them any time they're up, just macro them into your damage spells. i.e.;
(There's more advanced macros that will eliminate the error messages you receive, but basically what it'll do is pop whatever your top trinket is, then as soon as the shared CD is finished, the next cast you send will pop the lower trinket.)
The first one worked a charm! I think I was over-complicating the whole thing for myself by having it in my head that I was missing a syntax to change the tooltip, thanks a lot!
Realised the problem with the first before I had a chance to screw up, changed to the second. Thanks again!
Last edited by Thebeefe : 06/19/08 at 2:08 PM.
Reason: Extra line.
I wouldn't be surprised if this appeared in some form in this thread but I can't seem to find it by searching "how, help, harm," which I think are part of the marco text.
So what I would like is the macro format to cast a spell, say lightening bolt, so that
A, it hits my target, if my target is a Mob,
B is hit my target's target if I'm targeting the Tank
All the while keeping my current target selected.
Basically, as a healer I'd like to be able to shoot off a few lightening bolts without having to deselect my 2v2 partner, and I'd also like to have the same button work when I'm farming and just have a mob targeted.
I wouldn't be surprised if this appeared in some form in this thread but I can't seem to find it by searching "how, help, harm"
So what I would like is the macro format to cast a spell, say lightening bolt, so that
A, it hits my target, if my target is a Mob,
B is hit my target's target if I'm targeting the Tank
All the while keeping my current target selected.
Basically, as a healer I'd like to be able to shoot off a few lightening bolts without having to deselect my 2v2 partner, and I'd also like to have the same button work when I'm farming and just have a mob targeted.
Checks if your current target is an enemy; if so, casts LB. If not, checks if your target's target is an enemy; if so, casts LB. If neither, does nothing.
That's perfect thanks. I should have asked this at the same time, but how do I reverse that? E.g. I heal my target if its friendly, if not I heal the target's target. Would it be:
That's perfect thanks. I should have asked this at the same time, but how do I reverse that? E.g. I heal my target if its friendly, if not I heal the target's target. Would it be:
Exactly that. If you want, append [target=player] as a final conditional, and it will heal you if neither your target, nor your target's target, is friendly. Not awesome in a raid environment if you want to be able to pick your target after you click the button to cast. Alternatively, you could go
Which will cast LHW on:
Your friendly target; if not,
The target of your target, if it's friendly; if not,
The unit your mouse is over, if it exists, is friendly, and is alive; if not,
You
Exactly that. If you want, append [target=player] as a final conditional, and it will heal you if neither your target, nor your target's target, is friendly. Not awesome in a raid environment if you want to be able to pick your target after you click the button to cast. Alternatively, you could go
Which will cast LHW on:
Your friendly target; if not,
The target of your target, if it's friendly; if not,
The unit your mouse is over, if it exists, is friendly, and is alive; if not,
You
So I added in a modifier as well [modifier:alt, target=player]. So now it looks like /cast [modifier:alt, target=player] [help] [target=targettarget, help] [target=mouseover, help, exists, nodead] [target=player] Lesser Healing Wave
Just because I wanted a way to spam heals on myself without having to make sure I wasn't actually mousing over someone. At first I was holding down alt and spamming the key the macro was bound to, but that was doing anything. Then I figured out that if I held down the bound key then pressed alt, then released both, it would cast as intended. Is this how this is supposed to work? If I'm trying to spam heals on myself holding down alt and mashing the bound key would be a lot easier than having to mash the bound key, then alt, then release, repeatedly. Any suggestions?
So I added in a modifier as well [modifier:alt, target=player]. So now it looks like /cast [modifier:alt, target=player] [help] [target=targettarget, help] [target=mouseover, help, exists, nodead] [target=player] Lesser Healing Wave
Just because I wanted a way to spam heals on myself without having to make sure I wasn't actually mousing over someone. At first I was holding down alt and spamming the key the macro was bound to, but that was doing anything. Then I figured out that if I held down the bound key then pressed alt, then released both, it would cast as intended. Is this how this is supposed to work? If I'm trying to spam heals on myself holding down alt and mashing the bound key would be a lot easier than having to mash the bound key, then alt, then release, repeatedly. Any suggestions?
I just popped into WoW for a sec to test, and the macro works for me as it should, I.E. holding alt and spamming the key casts on myself. I'd check into whether you have a mod that's interfering with your macros in some way.
I thought I'd share this Rebirth macro that I use:
#showtooltip
/script local u="target";local un=(UnitName(u));local ir=IsSpellInRange("Rebirth",u);if ir==1 then SendChatMessage("Rezzing "..un,"RAID",nil,nil) elseif ir==0 then SendChatMessage("OOR for rez, ping map","WHISPER",nil,un) end
/cast Rebirth
Basically, if someone's in range, it rebirths them while sending the 'Rezzing (name)' message to raid chat. If they're not in range, it sends them a whisper to ping the map so I can find them.
If I have a dead mob targetted, and I am inrange, can I write a macro which will "right click" and bring up the loot box for me?
Next one:
Once I have a specific item (in a specific inventory slot) can a macro be written to drag that into a trade window?
Definite no on the first one, probably not on the second. I don't know if /use is equal to right clicking an item? In that case it might work to move items to the trade window. I'm pretty sure you can't use a script to simulate clicking the accept trade button anyway though.
A question of my own. Is there any conditional for determining if you're in a raid group or not?
On my warrior I use this to alert my group of popping shield wall, but if I need to use it when BigWigs isn't loaded I get an error message, so I'd like to add a /stopmacro [<if not in raid group>] between the lines there, but haven't found any way to check if I'm in a raid.
I was wondering if you guys cant help me with a hunter macro. Im trying to make a macro that feeds my pet conjured manna biscuits if i have them in my inventory and in the case that i dont to feed it bladespire bagels. and if i have both items in my inventory to not feed it both and just prioritize it to the conjure manna biscuit instead. any help is much appreciated thanks.
I've been trying to figure out how to create a macro to make target switching more efficient for me on Kil'jaeden and I am at a bit of a loss. What I want to do is make a macro that targets a Shield Orb if there is a Shield Orb within range of my Shadow Bolt (36 yards), but if there is no orb in range I want to keep my current target. This will prevent me from targeting Shield Orbs that have spawned but are across the room from me and out of casting range.
All I have been able to dig up on range modifiers in macros is something from a Rebirth script posted earlier in this thread:
/script local u="target";local un=(UnitName(u));local ir=IsSpellInRange("Rebirth",u)
I am no expert at scripts like this, and I'm not sure if it is possible to modify it for targeting purposes. What I'd like to know is if it is possible to put a "range check" in a targeting macro, and if so how would I go about doing it?
My goal here is to have one key for my mounts. Flying in BC, Charger in Pre-BC while having Crusader aura up when I mount and Concentration aura when I dismount.
3 problems here:
a) it doesn't summon the charger pre-bc
b) triggers GDC
c) doesn't cast Conc aura as I dismount.
Any of you, bigger brains out there, can help me out achieve the intended result?
My goal here is to have one key for my mounts. Flying in BC, Charger in Pre-BC while having Crusader aura up when I mount and Concentration aura when I dismount.
3 problems here:
a) it doesn't summon the charger pre-bc
b) triggers GDC
c) doesn't cast Conc aura as I dismount.
Any of you, bigger brains out there, can help me out achieve the intended result?
You've spelt concentration aura wrong.
You don't need the flyable / noflyable in the macro unless you're explicitly trying to stop it from printing errors on the screen.