View Single Post
10-01-10, 09:43 PM   #8
Ither
A Firelord
 
Ither's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2009
Posts: 497
Originally Posted by Guardix View Post
Code:
/run SendChatMessage("Casting "..GetSpellLink("Resurrection").." on "..UnitName("target") or "No Target",GetNumRaidMembers()>0 and "RAID" or GetNumPartyMembers()>0 and "PARTY" or "SAY")
Simply added a GetNumPartyMembers() and make it use "SAY" if you are not in raid nor party.
Ok, it's working except for if I accidentally hit it while not targeting, it kills the macro all together.
__________________
  Reply With Quote