scape Posted April 18, 2017 Share Posted April 18, 2017 I know how to grab login username, and bot account name, but how do I grab the login email field? Quote Link to comment Share on other sites More sharing options...
Magarac Posted April 18, 2017 Share Posted April 18, 2017 Pass it in via Params. Quote Link to comment Share on other sites More sharing options...
scape Posted April 18, 2017 Author Share Posted April 18, 2017 30 minutes ago, Magarac said: Pass it in via Params. Can you give an example on how I would do this with a barebone script? Quote Link to comment Share on other sites More sharing options...
Magarac Posted April 18, 2017 Share Posted April 18, 2017 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 1 Quote Link to comment Share on other sites More sharing options...