ChangeChatColor

From Warcraft Wiki
Jump to navigation Jump to search
Flavors
Links
Info
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