Jump to content

Joining and leaving chat[ignore]


GPSwap

Recommended Posts

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
Link to comment
Share on other sites

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

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

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