Quantcast WoWInterface - View Single Post - Resurrection Macro
View Single Post
10-01-10, 09:54 PM   #10
A Firelord
Ither's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2009
Posts: 496
#showtooltip Resurrection
/cast Resurrection
/run SendChatMessage("Casting "..GetSpellLink("Resurrection").." on "..UnitName("target") or "No Target",GetNumRaidMembers()>0 and "RAID" or GetNumPartyMembers()>0 and "PARTY" or "SAY")
That's what it looks like. If I happen to just be standing there and I hit the rez key without anyone targeted it pops up the error I posted a few ones up.

I've managed to narrow it down to this;

"..UnitName("target") or "No Target"
If the "..UnitName" piece is in it errors. It's like the command isn't understanding to use UnitName or No Target if nothing is targeted.
  Reply With Quote