Great ! Cant wait to hear what you think.
Also, make sure to download the latest version, i've updated it just now
Using the progress bar is a good idea, when i started the bot, i didnt know about widgets and what they could do. so, instead, i look for npcs around me and determine where i am. Progressbar is definitely a good way to do it!
I made these two methods for checking if "click here to continue" is available:
public boolean getPendingContinuation(){
return getScript().getWidgets().get(231,2) != null || getScript().getWidgets().get(193,2) != null || getScript().getWidgets().get(217,2) != null || getScript().getWidgets().get(229,1) != null || getScript().getWidgets().get(11,3) != null;
}
public boolean getOtherPendingContinuation(){
return getScript().getWidgets().get(162,33) != null;
}
Also, these methods, i made before knowing that i could check getMessage to see if it contains the text i want ("click here to continue"). But they work great, and is a great way around getDialogue.getPendingContinuation().
The getOtherPendingContinuation() detects that other message that has bold text and the click here to continue is a bit further up