Hi there, just making a small updated version of the snippet Naked made:
[ORIGINAL] Naked's Post
as this didn't work for me however the following code did:
Pastebin - Java code
How does it work?
When you wish to kill the client use:
kill(input);
and instead of input choose a String, which you've used in a CLI command to launch your bot!
java -jar OSBot.jar -login Name:password
You could do:
kill(OSBot);
kill(Name);
kill(password);
---
But also the proxy, script all parameters can be found here:
CLI Commands Table
Hopefully this helped someone out