Jump to content

[SNIPPET] Kill CLI / by proxy, script, name, or jar / (Windows only)


Valid

Recommended Posts

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 :)

snippet.png

  • Like 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...