Jump to content

Walk to Bank and Banking method


Recommended Posts

Posted (edited)

http://osbot.org/forum/topic/100862-bank-closest-to-entity/  that will get the closest bank to your player, or you can hardcode one in instead either way.

 

and then once you have that you can do:

if(!currentBank.contains(myPlayer().getPosition()){
getWalking().webWalk(currentBank);
} else {
if(!getBank().isOpen()){
getBank().open();
new ConditionalSleep(2500, 3000){
@Override
public boolean condition(){
return getBank().isOpen();
}
}.sleep();
} else {
//withdraw stuff etc.

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