Wowpedia
Advertisement
Game Flavors
Links
Patch
Added in 1.0.0 / 1.13.2

Updates the color for a type of chat message.

ChangeChatColor(channelname, red, green, blue)

Parameters

Arguments

channelname 
String - Name of the channel as given in chat-cache.txt files.
red, blue, green 
Number - RGB values (0-1, floats).

Example

ChangeChatColor("CHANNEL1", 255/255, 192/255, 192/255);

Result

Reset the General channel to the default (255,192,192, slightly off-white) color.

See Also

Advertisement