imancity Posted May 13, 2016 Posted May 13, 2016 How do I use em lol. I get my player right next to one. I just need it to open!
Chris Posted May 13, 2016 Posted May 13, 2016 (edited) Traditional banking using RS2Object. RS2Object bankBooth = objects.closest("Bank booth"); //Create an RS2Object looking for "Bank booth" if (bankBooth != null) { //Null check if (bankBooth.interact("Bank")) { //If the action was successful (true) sleep(600); //sleep //bank is open... } } Improved way to open the bank using the Bank API if (!getBank().isOpen()){ //If the bank is not open getBank().open(); //Opens bank chests, booths, etc. //sleep } else { //Bank is open..do something } Edited May 13, 2016 by Sinatra 1
imancity Posted May 13, 2016 Author Posted May 13, 2016 Traditional banking using RS2Object. RS2Object bankBooth = objects.closest("Bank booth"); //Create an RS2Object looking for "Bank booth" if (bankBooth != null) { //Null check if (bankBooth.interact("Bank")) { //If the action was successful (true) sleep(600); //sleep //bank is open... } } Improved way to open the bank using the Bank API if (!getBank().isOpen()){ //If the bank is not open getBank().open(); //Opens bank chests, booths, etc. //sleep } else { //Bank is open..do something } Thank you!! Worked perfect. Any chance you're online atm and would be willing to look over my script over PM? I got it to do 80% of what I want, but one part is stumping me
Chris Posted May 13, 2016 Posted May 13, 2016 Thank you!! Worked perfect. Any chance you're online atm and would be willing to look over my script over PM? I got it to do 80% of what I want, but one part is stumping me Dont have time atm. Work in the AM
imancity Posted May 13, 2016 Author Posted May 13, 2016 Dont have time atm. Work in the AM No worries!