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.

Simple Dialogue

Featured Replies

Hi there :D. I'm pretty new into scripting, such as that I can make a simple miner or fisher that banks, nothing crazy ofc, and stuff most of u can do in your sleep.  But I was just wondering if someone could help me write even a skeleton snippet of some example dialogue.  Just like click first dialogue("Hi welcome to our place"), then second dialogue("Thanks man"), then next dialogue("Sure man"). And thats about it :P. Thanks if someone can help either posting here or adding me on skype or something. (: Thanks for the upcoming help.

Umm, something like this ?

  private void dialogueblabla() throws InterruptedException {
	    if (dialogues.inDialogue() == true) {
	        dialogues.selectOption("Yes please.");
	        sleep(random(600, 1000));
	        dialogues.clickContinue();
	        sleep(random(600, 1000));
	    }
}
  • Author

Yes exactly, I can work with that I believe. Thank you!!!! <3 Specially for the very quick response.

Umm, something like this ?

private void dialogueblabla() throws InterruptedException {
	    if (dialogues.inDialogue() == true) {
	        dialogues.selectOption("Yes please.");
	        sleep(random(600, 1000));
	        dialogues.clickContinue();
	        sleep(random(600, 1000));
	    }
}
Use proper conventions, no need for the == true. You may be thinking why, because the method is a boolean. Once you put a boolean inside a if statement. If it method doesn't lead with a !, by default it will check to see if the method returns true

Yes exactly, I can work with that I believe. Thank you!!!! <3 Specially for the very quick response.

Explore the dialogue class

  • Author

Explore the dialogue class

 

I asked here cause I'm bad at learning from the API documentation as I am no java programmer... I have only really gotten 1 thing off API that i have understood, but for the most part, thats in a completely different language for me.

I asked here cause I'm bad at learning from the API documentation as I am no java programmer... I have only really gotten 1 thing off API that i have understood, but for the most part, thats in a completely different language for me.

The only way to further understand it is by trial and error. Try out a method and log the results. Seen if it does what you want it to do.

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.