View Single Post
Old 01-16-13, 03:01 AM   #11
Dridzt
A Pyroguard Emberseer
 
Dridzt's Avatar
AddOn Author - Click to view addons
Join Date: Nov 2005
Posts: 1,190
It doesn't (Fatality).

The relevant code snippet is this
Code:
local function colour(name)
	if (instance == "raid" and output1 ~= "SELF") or (instance == "party" and output2 ~= "SELF") then
		return strip(name)
	elseif not UnitIsFriend("player", name) then
		return format("|cffff0000%s|r", strip(name))
	end
	local _, class = UnitClass(name)
	local c = _G["RAID_CLASS_COLORS"][class]
	return format("|cff%02x%02x%02x%s|r", c.r*255, c.g*255, c.b*255, strip(name))
end
As you can see it only returns a colored name when the output is not raid or party, ie when it outputs to the local chatframe.
Dridzt is offline   Reply With Quote