• This is a read only backup of the old Emudevs forum. If you want to have anything removed, please message me on Discord: KittyKaev

Global Chat w/ Class Colors [EZ Editing]

Hyperion

Founder
A simple global chat script with class colors.
Easy to modify your own colors!

Screens:
i7NEC4e.png


lgt145d.png



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.
For example:
Code:
"(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! :)
 
Last edited:

ToxicDev

Banned
i myself made my world chat have icons and check for specific ranks such as donor or voter and blizzard tag. But what i speak of is nothing complicated xD anyway nice script
 

ToxicDev

Banned
xD nice idea to get icons in world chat

Indeed it is a nice idea to get icons in world chat. I might do something like that myself to test what limits I can go to! :p

Yeh my player, voter, and donor have unique icons and all staff has gm tag and there really isn't a limit u can go to with icons u can link as many as you want. You just have to keep recompiling to test the size of your icons lol.
 

Hyperion

Founder
Yeh my player, voter, and donor have unique icons and all staff has gm tag and there really isn't a limit u can go to with icons u can link as many as you want. You just have to keep recompiling to test the size of your icons lol.

You should post up your script on it ;)
 

Hyperion

Founder
Okay, I helped this guy on acweb and changed up my script for it. I updated the main post with the
new code. Here are a couple screens of the faction check that was added along with the code cleanup:

i7NEC4e.png


lgt145d.png
 

ZeuS

Respected Member
Sorry But i didnt find "g" in script :) Can you tell me which line is that !?
Want to change command of Worldchat from ".g" to .o"
 

Hyperion

Founder
And how do you change .g command to other commands? for exmaple .o or ...

Sorry But i didnt find "g" in script :) Can you tell me which line is that !?
Want to change command of Worldchat from ".g" to .o"

Its in the chat command handler, edit this line in red
Code:
{ "[COLOR="#FF0000"]global[/COLOR]", SEC_PLAYER, true, &HandleWorldChatCommand, "", NULL}
 

wowkillaz

Respected Member
This world chat , how i exacttly i add it to my core, trying here but its not working when try to say in .g

I added
Code:
RBAC_PERM_COMMAND_GLOBAL_CHAT                                 = 1008,
At RBAC.H Added it in Command list in World and Add the permissions at Auth tables then compiled fine , but still didnt working o: ..
 
Last edited:
Top