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.

options menu

Featured Replies

I have been trying to find a tutorial that shows how to create the options menu that pops up once you start the script but before it starts doing anything. If anyone can give me a quick run down or point me in the right right direction i would greatly appreciate it.

If by "options menu" you're referring to GUI (graphical user interface) then you would have to design one using a builder of your choice (Windows builder pro) for eclipse add on is recommended. 

 

Then import you're class like this in your class file that contains the onLoop etc

import PackageName.guiName;

Then in underneath the "Class extends Script" part write: (Creating an object so it's easier to refer to)

guiName GUI = new guiName();

In your onStart() method set it visible:

GUI.setVisible(true);

Finally in your onLoop() method give it the condition: 

while(GUI.isVisible()){
sleep(100);
}

I would recommend looking in the "Tutorials" section for @Pandemic's tutorial on beginner scripting, no offence but it doesn't seem as if you know much. Basic knowledge of java is quite essential otherwise you will find it tricky.

 

Anyhow good luck smile.png

Edited by Divinity

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.