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.

Kaleem

Members
  • Joined

  • Last visited

  1. I would like a trial of : Rock Crabs I would like a trial because I'm not sure if I want to purchase this script, so getting a trial run would really help
  2. So confusing on what you want..so I'll do my best. Usage for grabbing the players inventory as an Item array: inventory.getItems() Since you want to store their initial setup, I'd do something like: initial = inventory.getItems() upon startup To grab the amount of an item object (returned as an integer), simply do: item.getAmount() Put it all together, you should end up with something like this: for (int i = 0; i < inventory.getItems().length; i++) { Item current = inventory.getItems()[i]; //the current item in the respective slot Item in = initial[i]; //the initial item in the respective slot //probably want to skip iteration if the item is null but idk if (in.getAmount() != current.getAmount()) { //if the initial amount is different to the current amount... bank.withdraw(current.getId(), in.getAmount() - current.getAmount()); //withdraw the necessary amount } }

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.