Jump to content

Withdraw noted items


Recommended Posts

Posted

Hi, I've written a script to clean some herbs. I'm also implementing a function that sells the herbs back to the GE and buys grimy ones again, however I can't figure out how to withdraw noted items!

 

 else if (!bank.contains("Grimy Harralander"))

                {

                //Contains clean avantoes

                if (bank.contains("Harralander"))

                {

                //Withdraw 100

                 bank.withdraw("Harralander", withdrawNumber);

 

 

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