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 interact with interfaces?

Featured Replies

So i have got the parent and the child ID.

I want to have my script click "Click here to continue" but i can't find a way to do this...

 

someone help :(

Easier way:

if (dialogues.isPendingContinuation()) {
    dialogues.clickContinue();
}

Edited by dudeami

  • Author

 

Easier way:

if (main.dialogues.isPendingContinuation()) {
    main.dialogues.clickContinue();
}

 

And if i wanted it to click an option? 

I can't seem to use that... i think it is because my script in eclipe is called "main"?

Edited by massih

  • Author

check at the dialogues class they have great methods.

http://prntscr.com/69ihtk

					if (dialogues.isPendingContinuation()){
					dialogues.clickContinue();}
					if (dialogues.isPendingOption()){
					dialogues.selectOption("Can I journey on this ship?");}

this should work right?

but it does not..

And if i wanted it to click an option? 

I can't seem to use that... i think it is because my script in eclipe is called "main"?

 

Sorry, main. is what I use in my scripts as I don't bunch it all in one class, updated the post. Check out the Dialouges API docs like josedpay said, it has most of the functionality you need. Else, take a look at the Interfaces API docs, it has more of what you were expecting.

  • Author

Got it working put in some sleeps.

 

Thank you all!

					if (dialogues.isPendingContinuation()){
					dialogues.clickContinue();}
					if (dialogues.isPendingOption()){
					dialogues.selectOption("Can I journey on this ship?");}

this should work right?

but it does not..

 

i guess know let us know how it works.

  • Author

i guess know let us know how it works.

					if (dialogues.isPendingContinuation()){
					dialogues.clickContinue();
					sleep(random(800, 1100));}
					
					if (dialogues.isPendingOption()){
					dialogues.selectOption("Can I journey on this ship?");
					sleep(random(800, 1100));}

this works

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.