Beware of the man who works hard to learn something, learns it, and finds himself no wiser than before... He is full of murderous resentment of people who are ignorant without having come by their ignorance the hard way. -Kurt Vonnegut, "Cat's Cradle"
"Not everything on the internet is true." -- Abraham Lincoln
Good is the enemy of great.
Try UnitInRange("mouseover") since you're doing it from unitframes I'm guessing not by manually targeting a corpse.
You test for "target" but you cast on "mouseover" and only if that doesn't exist your target, that's probably the reason it wouldn't announce most of the time.
This should work, and btw. it doesn't announce it when it succeeds but when you are casting it (at least not on cooldown and target in range).Code:#showtooltip /cast [nocombat]Revive /stopmacro [nocombat] /run local b={select(1,GetSpellCooldown(20484))}if b[1]==0 and UnitInRange("target")then SendChatMessage(GetSpellLink(20484)..""..UnitName("target"),"RAID")end /cast [@mouseover,help,dead][]Rebirth
Why do you wrap a table around the return value from select? And select(1,...) is kind of redundant since that just passes on ...? Your code makes no sense to me.
Also, it has the same issue as all the ones above it in that it won't account for mouseover targetting on the Rebirth cast. That one, however, makes it impossible (for me, at least) to get the macro below the 255 character limit without losing functionality.
The closest that I got was the following at 293 characters:
Code:#showtooltip /cast [nocombat]Revive /stopmacro [nocombat] /run local s,_,u=20484,SecureCmdOptionParse("[@mouseover,help,dead][@target]")if GetSpellCooldown(s)==0 and UnitInRange(u)then SendChatMessage(GetSpellLink(s).." -> "..UnitName(u),"RAID")end /cast [@mouseover,help,dead][]Rebirth
UI & AddOns expert | Interface & Macros moderator - My work
I've heard of something called AHK, can someone give me some information how to set one up? Specifically for a Ret Paladins so that it eats Art of War procs when they happen.
Hey Guys,
I am looking for a macro, which cancels Spinning Crane kick an interrupts my target in just one click not 2 clicks, like
/cancelaura Spinning Crane Kick
/cast Spear Hand Strike
but this does not work with one click i have to push the button twice.
Is this possible.
Sorry for my bad english
Should work. What you have should have worked as well, but this is more universal.Code:/stopcasting /cast Spear Hand Strike
Nope both macros do not work with a single click, however they both work if you press the key twice, but that is not what i wanted.
I think it has to do with the client not "realizing" that SCK is no longer up until after the macro finishes executing. SHS would be castable from a server PoV, but never gets sent because the client still thinks it's not usable because of SCK.
It's an annoying little issue that currently inhibits a few spells (druids trying to macro NS in feral forms will know what I mean).
UI & AddOns expert | Interface & Macros moderator - My work
Hey i wanna make a castsequence macro that does this; Do Thrash then Swipe and reset after 14 seconds back to Thrash
/castsequence reset=15/combat/target Thrash, Swipe,
Got that at the moment but it just reset back to thrash after the first swipe, dont know if it's even possible to make a macro like this but would be nice if i could get an answer![]()
Is it possible to create a macro for the talents such as i'd be able to have 1 button on my bar for each talent tier. As an example, i'm a Monk. The level 30 talents are Chi Wave, Zen Sphere, and Chi Burst. would there be a way to have a macro that would have all 3 spells within, but cast the one that you currently have talented?
I'm looking for a macro that will:
Mail my banker (toon name "Banker") all the gold on my character
Here are a couple resources that might help.
Thanks in advance!
I've never used mail or money functions before, but given the resources from wowprogramming, this should do the job. You need to be at an open mailbox for the macro to work.Code:/run local amount=GetMoney() SetSendMailMoney(amount-30) SendMail("Banker", amount/10000 .. " gold attached", "")
Treeston made addon for that GoldCap
I have a problem with this macro
#showtooltip
/use 10 (engineering gloves)
/cast Lightning Bolt
The problem is that when I spam Lightning Bolt even though my gloves are ready I see them get highlighted but it skips to activat them and just casts Lightning Bolt instead. Sometimes it works if I slow down my spamming on the macro, but then again after the cooldown is ready again it wont activate unless I manually click the keybinding for my gloves. Am I doing something wrong? Any help would be great!