Hi,
I use something like this to send in the correct group.
Lua Code:
-- find the right GROUP, thanks to Dridzt code in the posts: [url]http://www.wowinterface.com/forums/showthread.php?t=48320[/url]
if IsInGroup(LE_PARTY_CATEGORY_INSTANCE) then
autopsy_chn = "INSTANCE_CHAT"
elseif IsInRaid() then
autopsy_chn = "RAID"
elseif IsInGroup() then
autopsy_chn = "PARTY"
else
autopsy_chn = "SELF"
end