Nothing wrong with the actual coding mate, it seems that because the script clicks through dialogue/walking and entering areas so fast that any lag spikes can throw off the clicks - which then leads the bot to think it has already clicked the next action if that makes sense? Could be that you add an option to reduce mouse/click speed for any others who are prone to lag.
Like i say, its absolutely amazing at performing the quests. It completed all of them for me over a couple of days 15 or so hours? Such a time saver if you hate questing like myself.
Token - this is absolutely without a doubt one of the best scripts i have EVER used in 7 years of botting. Now don't get me wrong, i've had to help it along with a couple of clicks but i think this was purely down to lag spikes my end.
In terms of scripting each quest, efficiency, you've done absolutely amazing. Thankyou token.