Jump to content

How to use the Bot switchAccounts method?


Recommended Posts

Posted

Hi, I'm trying to be able to autoswitch accounts after a certain amount of time, but I'm not sure how to use the following snippet of code.  

Bot switchAccount(String username, String password, int pin)

I tried the following 

Bot switchAccount(String "sampleusername", String "hunter2", int 0000);

Bot switchAccount("sampleusername",  "hunter2", 0000);

Bot switchAccount(stringvarstoringusername, stringvarstoringpassword, intvarstoringpin);

but the code editor is giving me errors.  Any help is much appreciated, thank you.  

  • Sad 1
Posted (edited)
7 hours ago, CheckingItOut said:

Hi, I'm trying to be able to autoswitch accounts after a certain amount of time, but I'm not sure how to use the following snippet of code.  

Bot switchAccount(String username, String password, int pin)

I tried the following 

Bot switchAccount(String "sampleusername", String "hunter2", int 0000);

Bot switchAccount("sampleusername",  "hunter2", 0000);

Bot switchAccount(stringvarstoringusername, stringvarstoringpassword, intvarstoringpin);

but the code editor is giving me errors.  Any help is much appreciated, thank you.  

getBot().switchAccount(username, password, bankpin);

Can't be much simpler than that :D
Lgout after switching the account and new acc will login

Edited by Khaleesi
  • 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...