Author Topic: Some Console Commands  (Read 1169 times)

I need the few console commands:
How to speak in console.
How to ban people from console.
How to kick people from console.


Like how to do stuff from the console.

I need the few console commands:
How to speak in console.
How to ban people from console.
How to kick people from console.

uh,what?

To talk from the console use
talk("wordshere");

You can only do this as HOST.

Meekl, seriously gtfo. This is two times today that you post stuff like "I DONT KNOW :D" in the help forum.

I think he means that he is hosting a dedicated server and he doesn't want to go into the server to talk to the people in there and ban/kick, so he wants to know the commands to put into the console to do so...


It says all of this stuff inside the RTB dedicated help in RTB Manual.

You can also use,
ServerCmdMessageSent(findclientbyname(NAME),"MessageHere");
I think thats it.
You can use that to talk through Clients other than you. Only if your hosting a Dedi.

How to speak in console.

Host:
Code: [Select]
talk("text");Example:
Code: [Select]
talk("Hello World!");
Not host:
Code: [Select]
commandToServer('messageSent',"text");Example:
Code: [Select]
commandToServer('messageSent',"Hello World!");
How to ban people from console.

Host:
Code: [Select]
banBLID(BL_ID,time,"reason");Example:
Code: [Select]
banBLID(1337,-1,"ID 1337 is now permanently banned.");;
Not host:
Code: [Select]
commandToServer('ban',0,BL_ID,time,"reason");Example:
Code: [Select]
commandToServer('ban',0,1337,-1,"ID 1337 is now permanently banned.");
How to kick people from console.

Host:
Code: [Select]
kickID(BL_ID);Example:
Code: [Select]
kickID(1337);
Not host:
Code: [Select]
commandToServer('kick',CL_ID);Example:
Code: [Select]
// Not sure if its possible to find CL_ID as non-host.

Code: [Select]
dumpConsoleFunctions();
Put it in console while hosting a server. That's every console command you could possibly need. (And a lot you will never need)

Code: [Select]
dumpConsoleFunctions();
Put it in console while hosting a server. That's every console command you could possibly need. (And a lot you will never need)

I.e. freeMemoryDump();

Shoot, can't edit, but I meant to say that is one you'll probably never need.