This site makes extensive use of JavaScript.
Please enable JavaScript in your browser.
Live
PTR
10.2.7
PTR
10.2.6
Beta
Send message in party or raid
Post Reply
Return to board index
Post by
Random0532
I've been trying to get this macro to work:
#showtooltip
/run SendChatMessage("Message.",GetNumRaidMembers()~=0 and"RAID"or"PARTY")
But I don't know if Blizzard has removed this function or something, because it clearly isn't working now. It just doesn't print anything. Basically what I want is a macro that says a message either in a party, or in a raid (if the members in the group are more than 5).
Please help me with this one, it's getting sort of frustrating, and I've tried some other macros but none gives any result (both being in a party group or in a raid).
EDIT: Actually, never mind. I found out that this works:
#showtooltip
/run SendChatMessage("Message.", IsInGroup(2) and "INSTANCE_CHAT" or IsInRaid() and "RAID" or "PARTY")
Post by
Nulgar
IsInRaid()orUnitInRaid("player")
UnitInParty("player")
Post Reply
You are not logged in. Please
log in
to post a reply or
register
if you don't already have an account.