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.

Joining and leaving chat[ignore]

Featured Replies

IGNORE IM A RETARD issue was elsewhere

if (widgets.containingActions(7, "Join Chat") != null) {
				if(widgets.interact(7, 17, "Join Chat")){
				new ConditionalSleep(10000) {
					@Override
					public boolean condition() {
						return widgets.isVisible(162, 32);

					}
				}.sleep();
				}

 

if (widgets.containingActions(7, "Leave Chat") != null){
					if(widgets.interact(7, 17, "Leave Chat")){
					new ConditionalSleep(10000) {
						@Override
						public boolean condition() {
							return widgets.containingActions(7, "Join Chat") != null;
						}
					}.sleep();
					}	
				}

 

Edited by GPSwap

From memory you don't use the same widget to leave the chat. Check all widgets that are there and use the widget debugger to find out which one has the option to leave.

  • Author
7 minutes ago, d0zza said:

From memory you don't use the same widget to leave the chat. Check all widgets that are there and use the widget debugger to find out which one has the option to leave.

It is the same widget thats what makes this so damn confusing, same code same widget 1 works 1 doesnt XD

5f7ec4ae119ec5e86be3232ff5350613.png

0113f9b8e3da33ed03ebeeb1a7a9a5ef.png

1 hour ago, GPSwap said:

It is the same widget thats what makes this so damn confusing, same code same widget 1 works 1 doesnt XD

5f7ec4ae119ec5e86be3232ff5350613.png

0113f9b8e3da33ed03ebeeb1a7a9a5ef.png

Are you sure you're actually entering the 2nd if statement?

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.