July 15, 20178 yr 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 July 16, 20178 yr by GPSwap
July 16, 20178 yr 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.
July 16, 20178 yr 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
July 16, 20178 yr 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 Are you sure you're actually entering the 2nd if statement?
Create an account or sign in to comment