Blockland Forums > Modification Help
Will this work?
wizzlemanizzle:
ahem, placid, i would like to thank you for youreffort to help me, but i must inform you that deleting the client prevents the player from joining any server until they restart blockland...
the command i was looking for ( I used trace();) is infact
disconnect();
otto-san:
What? No it doesn't.
Deleting the client object on a server does nothing to the player but disconnect them, and in fact the kick button does this exactly.
Placid:
--- Quote from: wizzlemanizzle on March 29, 2011, 09:54:54 PM ---ahem, placid, i would like to thank you for youreffort to help me, but i must inform you that deleting the client prevents the player from joining any server until they restart blockland...
the command i was looking for ( I used trace();) is infact
disconnect();
--- End quote ---
this only works on yourself. deleting the client deletes their whole client's access to your server besides rejoining therefore making them leave. disconnect(); would disconnect yourself from the server. what you were doing was trying yourself. try hosting a server that your friend comes on and have him connect. trace his disconnection, he will be deleted.
Greek2me:
--- Quote from: Red_Guy on March 28, 2011, 07:45:36 PM ---Next is this line:
messageboxOK("There they go..."; "You were just saved by your administrative powers, congrats on still being here");
Torque will give you a syntax error on this. Do some searching on the forums to find an example to see how its used.
--- End quote ---
commandToClient(%client,'messageBoxOK',"Title","Text goes here.");