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.

Script Starter Snippet

Featured Replies

This is the official thread of the snippet.

 

What's in the snippet?

Custom breaks.

Randomized TIMED actions that I designed myself, such as checking a random tab, xp, moving camera, moving mouse slightly, etc.

Randomized restore hp logic.

Randomized enable running logic.

Banking logic.

Randomized hop worlds logic.

Core renew bond logic.

Core restocking logic and basic GE interactions.

Areas and positions for commonly used banks. 

Useful booleans.

 

Examples of how to use it

Randomized healing

Basic logic

[85, Variables, getBoolean, 1:shouldRestoreHp, 3:false]
[85, Variables, getInteger, 1:generateEatAtHp, 1:==, 2:0]
[85, MyPlayer, getCurrentHealthPercent, 1:<=, 2:40]
[85, Variables, addOr]
[85, Variables, getBoolean, 1:shouldRestoreHp, 3:false]
[85, Variables, getInteger, 1:generateEatAtHp, 1:==, 2:1]
[85, MyPlayer, getCurrentHealthPercent, 1:<=, 2:55]
[85, Variables, addOr]
[85, Variables, getBoolean, 1:shouldRestoreHp, 3:false]
[85, Variables, getInteger, 1:generateEatAtHp, 1:==, 2:2]
[85, MyPlayer, getCurrentHealthPercent, 1:<=, 2:70]
[85, Debug, debug, 1:[Restoring Hp.]]
[85, Variables, editBoolean, 1:shouldRestoreHp, 3:true]
[85, Variables, generateRandomInteger, 1:generateEatAtHP, 2:0, 2:2]
[86, Variables, getBoolean, 1:shouldRestoreHp, 3:true]
[86, MyPlayer, getCurrentHealthPercent, 1:>=, 2:90]
[86, Variables, editBoolean, 1:shouldRestoreHp, 3:false]

When the boolean 'shouldRestoreHp' is set to true, it also generates a random integer that will determine the hp threshold to activate healing the next time. By default, this integer is 0 and the hp threshold is less than 40% hp. You can edit the hp values by changing the hp% check for getCurrentHealthPercent.

In order to do the actual healing, you have to do a true check for the boolean shouldRestoreHp, and then set the action such as eating a lobster or whatever food you choose.

Edited by FushigiBot

  • Author
4 minutes ago, dragonkin said:

Hi,

 

Thanks for this, how do we access the snippet?

It's on the SF network ^^

  • 1 year later...

so i could copy things certain things from it and paste into whatever im trying to make? sorry im new to SF :)

  • Author
10 hours ago, Doalrian20 said:

so i could copy things certain things from it and paste into whatever im trying to make? sorry im new to SF :)

This snippet contains checks that you can call anywhere within the script. It basically saves you time when building a script as it contains a template for many things. It requires some knowledge of SF or programming, though.

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.