WoW:API ChangeChatColor: Difference between revisions
Jump to navigation
Jump to search
m (__NOTOC__) |
m (Move page script moved page API ChangeChatColor to API ChangeChatColor without leaving a redirect) |
(No difference)
|
Latest revision as of 04:45, 15 August 2023
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);
Parameters[edit]
Arguments[edit]
- channelname
- String - Name of the channel as given in chat-cache.txt files.
- red, blue, green
- Number - RGB values (0-1, floats).
Example[edit]
ChangeChatColor("CHANNEL1", 255/255, 192/255, 192/255);
Result[edit]
Reset the General channel to the default (255,192,192, slightly off-white) color.