Sorry to resurrect an old thread but this code has ceased working due to changes in 5.x , specifically this bit:
if not UnitInRaid("PLAYER") then return end
for i = 1 , GetNumRaidMembers() do
name, _, subgroup = GetRaidRosterInfo(i)
if (name == Name(unit)) then
return subgroup
end
end
|
Can any of you smart folks fix that so it works?