Since they've changed how LFR, LFG, etc work, I am having a hard time detecting if I can use INSTANCE_CHAT, RAID_WARNING, RAID, PARTY message channels. Anyone have current code to handle this?
Old code is....
Code:if(IsInRaid()) then if(UnitIsGroupAssistant("player")) then msgChan="RAID_WARNING"; else msgChan = "RAID"; end elseif(IsInGroup()) then if(IsInInstance()) then msgChan = "INSTANCE_CHAT"; else msgChan = "PARTY"; end else msgChan = "SAY"; end