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.

Beginner in RS scripting, Need some help

Featured Replies

  • Author
52 minutes ago, BrainDeadGenius said:

This tells me you're not changing the name of the script. You will have to overwrite files when you make changes to scripts. But if you don't have a file for each script you've made, then you're not changing the following information on each script.

This was indeed the problem, thanks alot!

53 minutes ago, BrainDeadGenius said:

Regarding the code block below, did you change the String[] to your potions? If so, then it's doing the job correctly by pulling the potions out of the bank. If not, and you left it as it is, it'll pull the Bucket of water and Pot of flour from the bank, if the bank has any.


String[] requiredItems = {"Bucket of Water", "Pot of flour"};

 

I didn't make any adjustments to your code and saved it as the same name as my previous script (the one with the attack potions). I think that it didn't transferr the new code at all since I just saved it as a new script and it executes your code correctly. Still weird though. Anyway thanks, learned a bunch!

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.