WoWInterface - View Single Post - Code optimization and issue with hyperlinks in chat
View Single Post
10-12-18, 11:56 AM   #3
A Flamescale Wyrmkin
AddOn Author - Click to view addons
Join Date: Dec 2009
Posts: 105
If I'm understanding you correctly, you want to be able to set the text colour that's used by default in the chat frame and are jumping through hoops to make that work with colour encodings. But if that's what you're trying to do then it might be better to do that directly:

Lua Code:
  1. ChatFrame1:SetTextColor(r,g,b)

This way when things like links reset to default, it should be this colour.
  Reply With Quote