eh, I would try them here
Code:
/run SendChatMessage("Casting "..GetSpellLink("Resurrection").." on "..(UnitName("target") or "No Target"),GetNumRaidMembers()>0 and "RAID" or GetNumPartyMembers()>0 and "PARTY" or "SAY")
But this would definitely work:
Code:
/run local n=UnitName("target") or "No Target" SendChatMessage("Casting "..GetSpellLink("Resurrection").." on "..n",GetNumRaidMembers()>0 and "RAID" or GetNumPartyMembers()>0 and "PARTY" or "SAY")