Author Topic: How do I make it say CONSOLE: (what you want it to say) in my server chat.  (Read 2123 times)

     So in some servers i have seen this thing that says in the chat CONSOLE: (then what you would want it to say) I would use this for alerting lag storms and other stuff like that. But I havnt seen any add ons about it. So I dont know how to do it and I would like advice!

talk("Hello!"); in your console.

For if you don't want it to have the "CONSOLE:". You can do announce("ENTERTEXTHERE");


To add onto this, you can color the text like so:
announce("\c2Hi \c3Kids!");
Would say:
Hi Kids!
\c1 is blue, \c2 is green, \c3 is yellow, \c4 is cyan, \c5 is pink, \c6 white, \c7 grey, and \c8 black

\c1 is blue, \c2 is green, \c3 is yellow, \c4 is cyan, \c5 is pink, \c6 white, \c7 grey, and \c8 black
You can also get the colors by saying /colortest in chat. All you gotta remember is the \c

To add onto this, you can color the text like so:
announce("\c2Hi \c3Kids!");
Would say:
Hi Kids!
\c1 is blue, \c2 is green, \c3 is yellow, \c4 is cyan, \c5 is pink, \c6 white, \c7 grey, and \c8 black

announce("\c0R\c3A\c2I\c1N\c4B\c6O\c5W");

You can also get the colors by saying /colortest in chat. All you gotta remember is the \c
You have to be an admin though. Dunno why.

You have to be an admin though. Dunno why.

Because it messages to the whole server.


Those are the color codes.

The colors values are
RGB             HEX        \cID
255 0   64 , or FF0040, or \c0
64  64  255, or 4040FF, or \c1
0   255 0  , or 00FF00, or \c2
255 255 0  , or FFFF00, or \c3
0   255 255, or 00FFFF, or \c4
255 0   255, or FF00FF, or \c5
255 255 255, or FFFFFF, or \c6
96  96  96 , or 606060, or \c7
0   0   0  , or 000000, or \c8

Because it messages to the whole server.
Which leads to the next question: why would it message everyone?

To add onto this, you can color the text like so:
announce("\c2Hi \c3Kids!");
Would say:
Hi Kids!
\c1 is blue, \c2 is green, \c3 is yellow, \c4 is cyan, \c5 is pink, \c6 white, \c7 grey, and \c8 black
And you can do <color:00FF00> For green and other options go on http://colorpicker.com and look at the top where it says D27603 and when you change the colour that will change and then replace the 00FF00 with that D27603
                                   

well this really got in-depth quick

Which leads to the next question: why would it message everyone?
Because the function name is serverCmdColorTest not serverCmdColorCodes or what have you. It's not meant as a reference to the color codes. It's meant to test the functioning of the \c colors in chat.

Because the function name is serverCmdColorTest not serverCmdColorCodes or what have you. It's not meant as a reference to the color codes. It's meant to test the functioning of the \c colors in chat.

Why would they ever not function though?

Two other questions, related to the subject:
How do you make a join message,
or a leave message, and either one using console commands?