Author Topic: Need help with a console CMD (ChatMessageAll)  (Read 732 times)

I need help with the proper way to use this cmd.

Mostly for when hosting dedicated servers.


chatMessageAll(messagetype,message);

So, you're gonna want to type:

chatMessageAll('',"\c6Test");

The message type should be two 's, not a single "
The message needs to be between "s
Putting \c6 in the message will make everything after it white

talk(message); works the same way, for the most part, and it's a bit simpler.

Code: [Select]
function m(%msg){messageall('','\c3Server: \c6%1',%msg);echo("Server: " @ %msg);}(put in console or a script, in console, do this once everytime you start blockland/dedicated)


m("Hello");
Will do:
Server: Hello