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

Name Prefix in /Say

Cortana

Enthusiast
logoexq.png

Hello EmuDevs. I have done a little research to figure out how to do this and I finally found out how. It was not as hard as I thought it would be. For example the chat will show up like

Code:
 [COLOR="#FFFFFF"][Cortana - Admin] says: Hello EmuDevs. [/COLOR]

This is a simple edit in the QueryHandler.CPP I will provide the QueryHandler.CPP in a pastebin for you to easily add it to your server. I will be here to assist if you need it as well. I also have included the Common.H which is for the accounts that I have added.

QueryHandler.CPPhttp://pastebin.com/wA334GPP
Common.H - http://pastebin.com/Ysyq4BG0
 
Last edited:

Cortana

Enthusiast
Thank you sir. I have just added the Common.h for people who would like to add the accounts as well.
 

Cortana

Enthusiast
You can do /whisper (name) and have it whisper the name with out the prefix. But you can click it to whisper. I am trying to work on fixing that.
 

Cortana

Enthusiast
I will find one soon. I gotta edit a few more scripts to get that working. I will keep you updated.
 
Top