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.

Not my first Script

Featured Replies

  • Author
2 hours ago, progamerz said:

add a smithface not null, i am on phone can't write much atm..

 

No Worries! Thanks for response, the null check fixed the error. Thank you

41 minutes ago, m3JS said:

No Worries! Thanks for response, the null check fixed the error. Thank you

Basically, OSBot will spas out if you forget to check for null.

On 7/6/2018 at 7:36 PM, m3JS said:

Great feedback and thank you for the suggestions! My goal is to create bigger and more complex scripts but to also put forth my efforts back to the community. I have tried to go back to not using States and enums as I am fairly new to Java and don't understand fully why to use enums over not using them. I think I need to go back and do some basic Java to better understand everything. I used the tutorials @Chris made and scanned through a lot of snippets and other forum posts. As for the widget, I was thinking about that this morning, I am gonna do some separate tests off script to practice.

 

You are welcome! And I would like to mention you are well under your way. Remember that an enum is just a way to store data, just like a string. You could make a string array of 'states' and use that in the same mechanism as well.

For widgets I only check if they are null and that works for me.

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.