Jump to content

How to open a bank?


Recommended Posts

Posted
if (getBank() != null) {
  	if (!getBank().isOpen()) {
		if (getBank().open()) {
			//sleep until bank open
		}
	}
  	//deposit or withdraw, etc.
}

 

If you didn't understand anything after reading API you are going to struggle writing any script. Keep at it though, a basic understanding of java should suffice to make working scripts, the more Java/OOP you know the easier it will be.

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