Code:
#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;
Code:
"..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.