Jump to content

How to use the Bot switchAccounts method?


CheckingItOut

Recommended Posts

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
Link to comment
Share on other sites

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
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...