There's still an issue with the snippet in my prior post. Redwerewolf and I are working on fixing it. Don't try using CPrintToChat yet because right now with the way we've set things up in our testing, it just turns the entire message teamcolored
(the name, the : separating the name and the message, and the message) and fails to display the tag.
Once we squash some bugs, I'll be publicly releasing a companion plugin to this one called Chat-Processor Tags.
There appears to be a promotional blurb and technical information for Chat-Processor Tags within this spoiler. Care to view it?
It's an updated-to-new-syntax version of Dr. McKay's Custom Chat Colors, but modified to work with Chat-Processor and the colorvariables.inc include
(new syntax version that I believe you get a copy of with Chat-Processor, not the original old-syntax version) instead of Simple Chat Colors and colors.inc/morecolors.inc.
The config file is almost exactly the same as CCC's, so you can easily carry your configs over from Custom Chat Colors to Chat-Processor Tags, make any necessary modifications and you're good.
Here's an example of what you can do with Chat-Processor Tags
Code:
"STEAM_0:1:2:34567890"
{
// Multiple colors in one tag, and it's extremely long, but won't cut half your name off in chat!
"tag" "{red}[{orange}H{yellow}O{orange}T{red}] "
// No "tagcolor" line because it's not needed
"namecolor" "#FF0000" // Can also be RGBA (#FF0000AA for example), or T/G/O (team-colored, green, olive)
"chatcolor" "#FF0000" // Can also be RGBA (#FF0000AA for example), or T/G/O (team-colored, green, olive)
}
"tagcolor" still works. If you want multicolored tags in games like TF2, don't use "tagcolor". Just put the color codes into "tag". You can still use "tagcolor" in games like TF2. I didn't change that functionality at all. I just highly suggest switching to only using "tag" and getting rid of "tagcolor" unless you're using CS:GO because that's what "tagcolor"s main use is now.
A CS:GO tag setup would resemble this:
Code:
"STEAM_0:1:2:34567890"
{
"tag" "[VIP] "
// You're gonna need tagcolor for tagcolors in CS:GO.
"tagcolor" "T"
"namecolor" "G"
"chatcolor" "O"
}
If CS:GO can actually support RGB/RGBA colors like TF2, and the reports on the main post of the Custom Chat Colors thread about colors not working is wrong, I'll update things.