Quantcast WoWInterface - View Single Post - SendChatMessage and illegal chars
View Single Post
01-16-13, 04:01 AM   #11
A Pyroguard Emberseer
Dridzt's Avatar
AddOn Author - Click to view addons
Join Date: Nov 2005
Posts: 1,251
It doesn't (Fatality).

The relevant code snippet is this
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))
	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))
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.
  Reply With Quote