Jump to content
Frequently Asked Questions
  • Are you not able to open the client? Try following our getting started guide
  • Still not working? Try downloading and running JarFix
  • Help! My bot doesn't do anything! Enable fresh start in client settings and restart the client
  • How to purchase with PayPal/OSRS/Crypto gold? You can purchase vouchers from other users
  • Try asking for help in the chatbox
  • Script wont start


    Recommended Posts

    Hello guys, So today I tried to write a script with the help of a youtuber.

    I think this is what I want, so I tried to run it and it doesn't do anything.

    Anyone knows whats the problem ? 






    Link to comment
    Share on other sites

    The action for chopping trees is "Chop down" case sensitivity will get ya.  Your banking method is interesting seeing as you used getBank(), but also use NPC's. This could be a lot simpler with just the use of getBank().


    Link to comment
    Share on other sites

    Ok, so I would delete the lambda statement in your GameObject statement. Just do something like GameObject tree = getGameObjects.closest(Tree); this will set your tree object to whatever String you pass in when calling this function. Also, your lambda in the sleepUntil method wont work. It will stop after one log I believe, try changing countLog with getInventory().isFull(); and the > into a ==.

    Link to comment
    Share on other sites

    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

    • Create New...

    Important Information

    We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.