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 get selected item in inventory?

Featured Replies

I want to make sure that an item has been selected in the inventory before continuing my script, how can I go about this as I cannot find an API method for it.

Quickly looked at the api and you seem to be right that there's no method for it when there should be.

By the looks of it you'll have to either loop through interfaces or perhaps its a setting, im not too sure. Try the interfaces first.

The other option is to look for the selection colour around the bounds of each slot

  • Author

Interface doesn't seem to work and checking for color will be very hard to get right as the bounding box doesn't follow the item exactly as the white selection lines does.

There is a hook for selectedItemName, but osbot doesn't have it - if they did, it would return the latest selected item name

Also you could just check that it says use item name ->

  • Author

There is a hook for selectedItemName, but osbot doesn't have it - if they did, it would return the latest selected item name

Also you could just check that it says use item name ->

 

Well I hope they fix that and I think osbot only check's the "use *item*" part of the text and nothing after that.

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.