Jump to content
View in the app

A better way to browse. Learn more.

OSBot :: 2007 OSRS Botting

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

How to select mines in a certain area

Featured Replies

Hello,

Trying to make my first script and having a hard time with this part.
How can i get my character to only select mine types in certain areas?

anyone help.

 

  • Author
Just now, erenjwz said:

Mine type? 

You mean the type of rock, right.

Yes i mean only get some type of rock in a certain place and not others

Just now, Wazebi1 said:

Yes i mean only get some type of rock in a certain place and not others

You could do it like this:

RS2Object ore_vein = getObjects().closest(obj -> obj.getName().equals("Ore vein") && MINE_AREA.contains(obj));

This will only mine certain rocks in the a certain Area you created if it exists.

  • Author
Just now, erenjwz said:

You could do it like this:


RS2Object ore_vein = getObjects().closest(obj -> obj.getName().equals("Ore vein") && MINE_AREA.contains(obj));

This will only mine certain rocks in the a certain Area you created if it exists.

Thanks but how do i create an area?

Just now, Wazebi1 said:

Thanks but how do i create an area?

You can find this all in the https://osbot.org/api/

And then go to Map>Area, and there you will find everything you need to know about Areas

  • Author
Just now, erenjwz said:

You can find this all in the https://osbot.org/api/

And then go to Map>Area, and there you will find everything you need to know about Areas

Alrighty thanks

Create an account or sign in to comment

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.