View Single Post
Old 10-01-10, 10:56 PM   #12
Xubera
A Cobalt Mageweaver
 
Xubera's Avatar
AddOn Author - Click to view addons
Join Date: May 2009
Posts: 207
try

Code:
/run SendChatMessage(("Casting "..GetSpellLink("Resurrection").." on "..UnitName("target")) or "No Target",GetNumRaidMembers()>0 and "RAID" or GetNumPartyMembers()>0 and "PARTY" or "SAY")
the difference being putting paraenthesis around the entire string so

if (longString..with..concat..UnitName) or "No Target"

so the whole string is all or nothing
__________________
Chat Consolidate is the solution to any out of control trade chat. Ignore lines, throttle chat, consolidate posts!Follow the link to find out how!

▲ ▲ WoWInterface wont let me triforce >.>
Xubera is offline   Reply With Quote