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.

How to add: Script Ran For:

Featured Replies

If you want to add it to the console then:

Globally add your Timer(Import the java class)

 

Presuming you named your Timer "timer"

@Override
	    public void onExit() 
	    {
                log("You've ran the script for: " + timer.getElapsed()); //Or something like that
                timer.stop(); //Sort of redundant when you stop script but I still add it just incase
            }
  • Author

Thanks, but I ehm I wanted it to be like in the paint.

Ah, when I read, "Script ran for" I thought you meant when you stop the script.

 

In that case:

public void onPaint(Graphics j) 
    {
       {
    	   j.drawString("Time ran: " + toTimeString(timer.getElapsed()), X-Coordinate, Y-Coordinate); //Replace the coordinate with numbers
        }
    }

You're welcome. If you come across more issues feel free to PM me here. If you need more help add me on Skype: bucial11

Guest
This topic is now closed to further replies.

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.