CheckingItOut Posted August 23, 2021 Posted August 23, 2021 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. 1
Nbacon Posted August 24, 2021 Posted August 24, 2021 I personaly would over ride the login handler... you do loss a some things... but will it do what you ask. 1
Khaleesi Posted August 24, 2021 Posted August 24, 2021 (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 Lgout after switching the account and new acc will login Edited August 24, 2021 by Khaleesi 1