Skip 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.

Scripting tutorial?

Featured Replies

Can anyone help me out here, I'm looking for some tutorials as I want to start scripting for OSBot due to the low script base.

 

Or if anyway has an example script with comments that explain what's going on etc I'd appreciate it.

 

 

I dont know if this would Help but here is a quick look at the base of scripts skeleton

import org.osbot.script.Script;
import org.osbot.script.ScriptManifest;

@ScriptManifest(name = "Script Name", author = "Authors name", info = "description aboutthe script", version = 1.0)
public class ScriptName extends Script {

    //The method that get exectued on the start of the script
    @Override
    public void onStart() {

    }

    //Main script loop, all the action goes here
    @Override
    public int onLoop() throws InterruptedException {
        return 0;
    }

    //similar to the onStart() but it gets executed on the end.
    @Override
    public void onExit() {

    }

    //Paint method
    @Override
    public void onPaint(Graphics a) {

    }

}

Edited by Wiz

  • Author

 

I dont know if this would Help but here is a quick look at the base of scripts skeleton

import org.osbot.script.Script;
import org.osbot.script.ScriptManifest;

@ScriptManifest(name = "Script Name", author = "Authors name", info = "description aboutthe script", version = 1.0)
public class ScriptName extends Script {

    //The method that get exectued on the start of the script
    @Override
    public void onStart() {

    }

    //Main script loop, all the action goes here
    @Override
    public int onLoop() throws InterruptedException {
        return 0;
    }

    //similar to the onStart() but it gets executed on the end.
    @Override
    public void onExit() {

    }

    //Paint method
    @Override
    public void onPaint(Graphics a) {

    }

}

 

Yeah I appreciate that, I started writing a thiever but I was using 'else if' statements etc, I know there are better methods for this.

 

Do you mind PMing me your Skype mate?

You'll find that you aren't going to get a "free tutorial."

People will say view other script, learn Java/Java Script.

Uhhhh

Yeah.

You can't just learn from reading off a script, it doesn't work like that.

  • Author

You can't just learn from reading off a script, it doesn't work like that.

I didn't say it worked like that.

I didn't say it worked like that.

But you were planning on.

  • Author

But you were planning on.

No I wasn't.

Guest
This topic is now closed to further replies.

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Search

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.