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.

Brand new to scripting. Quick question

Featured Replies

  • Author
7 minutes ago, Explv said:


Look at the API. https://osbot.org/api/org/osbot/rs07/api/Dialogues.html

I would recommend using an IDE that handles imports for you.

I've been on this page but I'm not sure what I type exactly. When I try to use selectOption it gives me an error "The method is undefined for the type"

Edited by Slickk

  • Author
14 minutes ago, Zappster said:

Quick question; what app do you use to write your java code

eclipse

23 minutes ago, Slickk said:

eclipse

Pretty sure you can right click on the line->import; that is to say you actually have typed the method out correctly

  • Author
3 minutes ago, Zappster said:

Pretty sure you can right click on the line->import; that is to say you actually have typed the method out correctly

The method is typed correctly, the only error I get is that it's undefined. When I right click, I don't see an import option.

Make sure you call it correctly:

getDialogues().selectOption("Press here to continue");

Learn to use the API, look at the class.

Or use

getBot().getMethods().

 and check search function.

 

In any case just post your code in the OP it's easier to see where you went wrong

Edited by Zappster
drunk; you do need an import if its outside bot initilize class

Make sure you have the OSBot Client added to your libraries sounds like that is your issue.

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.