Jump to content

Grabbing login email


Recommended Posts

Posted
24 minutes ago, scape said:

Can you give an example on how I would do this with a barebone script?

String userEmail = null
String userPass = null
 
@Override
public void onStart() throws InterruptedException {
  userEmail = getParameters().split("-")[0];
  userPass = getParameters().split("-")[1];
}

In this above case, "-" is the delimiter which you use in your CLI file.
e.g. -java -jar "OSBot" -login user:pass -bot userEmail:userPass:0000 -script SCRIPTNAME:userEmail-userName

  • Like 1

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

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