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
  • Help with .all() search


    PapaH

    Recommended Posts

    I've already made myself about 8 working basic scripts, but I cant seem to figure out filtering items when searching around you.

    So my question is, how would I write this:

    I want to search for the closest game object with the ID of 6769, there are other things closer with different IDs. How would I write a .interact("Build"); with that?

    Link to comment
    Share on other sites

    I figured out my question was a bit dumb and works the same way as: GameObjects.closest(6769).interact("Build");

    for anyone who may have a similar question.

    Link to comment
    Share on other sites

    Archived

    This topic is now archived and is closed to further replies.

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