View Single Post
09-25-16, 03:37 PM   #5
gmarco
An Onyxian Warder
 
gmarco's Avatar
AddOn Author - Click to view addons
Join Date: Dec 2009
Posts: 362
Hi,

I use something like this to send in the correct group.

Lua Code:
  1. -- find the right GROUP, thanks to Dridzt code in the posts: [url]http://www.wowinterface.com/forums/showthread.php?t=48320[/url]
  2.    
  3. if IsInGroup(LE_PARTY_CATEGORY_INSTANCE) then
  4.        autopsy_chn = "INSTANCE_CHAT"
  5. elseif IsInRaid() then
  6.         autopsy_chn = "RAID"
  7. elseif IsInGroup() then
  8.         autopsy_chn = "PARTY"
  9. else
  10.         autopsy_chn = "SELF"
  11. end
__________________
This is Unix-Land. In quiet nights, you can hear the Windows machines reboot.
  Reply With Quote