Fandom

WoWWiki

API ChangeChatColor

104,993pages on
this wiki
Add New Page
Talk0 Share
WoW API < ChangeChatColor

Changes the text color of the specified chat channel. The "color wheel" popup calls this function to do the actual work, once the user is done with the popup.

ChangeChatColor("channelname", red, green, blue);

ParametersEdit

ArgumentsEdit

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

ExampleEdit

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

ResultEdit

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

See AlsoEdit

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.