Wise
29-10-13, 06:04 AM
A simple global chat script with class colors.
Easy to modify your own colors!
Screens:
http://i.imgur.com/i7NEC4e.png
http://img811.imageshack.us/img811/2546/lgt145d.png
Here is the download:
Global Chat w/ Class Colors [EZ Editing] (http://pastebin.com/M5ZjcFuu)
.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.
For example:
"(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
CUSTOM_WHITE is the [Player] tag, CLASS_COLOR is obviously the class color on the player name
and the CUSTOM_WHITE at the end is the color of the message being sent. Just change them! :)
Easy to modify your own colors!
Screens:
http://i.imgur.com/i7NEC4e.png
http://img811.imageshack.us/img811/2546/lgt145d.png
Here is the download:
Global Chat w/ Class Colors [EZ Editing] (http://pastebin.com/M5ZjcFuu)
.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.
For example:
"(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
CUSTOM_WHITE is the [Player] tag, CLASS_COLOR is obviously the class color on the player name
and the CUSTOM_WHITE at the end is the color of the message being sent. Just change them! :)