View Single Post
Unread 01-21-13, 03:01 AM   #2
Sharparam
A Cliff Giant
 
Sharparam's Avatar
AddOn Author - Click to view addons
Join Date: Oct 2011
Posts: 79
Changing the last line to this should work:
Code:
/run SendChatMessage("Aethran cast Raise Ally on "..UnitName("mouseover")..".", UnitInBattleground("player") and "BATTLEGROUND" or IsInRaid() and "RAID" or IsInGroup() and "PARTY" or "SAY")
Note that I haven't tested it.

Edit: Changed to IsInRaid and IsInGroup instead of checking player count.

Last edited by Sharparam : 01-21-13 at 03:03 AM.
Sharparam is offline   Reply With Quote