A simple global chat script with class colors.
Easy to modify your own colors!
Here is the download: Global Chat w/ Class Colors [EZ Editing]
.g <text> is your global command. You can change that where it says "g".
For the colors if you would like to change them, you would just need to change the expressions in the statements.
CUSTOM_WHITE is the [Player] tag, CLASS_COLOR is obviously the class color on the player name
"(Chat)-[%s%s|r]-[%sPlayer|r] %s%s|r: %s%s|r", FACTION_COLOR, FACTION_TXT, CUSTOM_WHITE, CLASS_COLOR, player->GetName().c_str(), CUSTOM_WHITE, msg
and the CUSTOM_WHITE at the end is the color of the message being sent. Just change them! :)