Jump to content

Joining and leaving chat[ignore]


Recommended Posts

Posted (edited)

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
Posted
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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...