commandtoserver('ban',"name","ID","time","reason");
I think.
Via the dedicated server? I don't think so. commandtoserver's are for clients.
You COULD do this if an admin was on the server though...
1. use listClients(); , and find the client number of the admin on the server.
2. within the decicated:
serverCmdBan(ADMIN#, "name", ID, TIME, "reason");
ID and time don't need quotes because they aren't strings, they are numbers.
ADMIN# is the client number found via listClients();
3. The console window should now display the usual stuff it shows when you ban someone.
4. Done!
