Suggestion: make bot more with more generic and dynamic wait timers
For Eg, Load timers ( may varry on a computer due to inconsistent internet)
This can be done by replacing (pseudo code)
Sleep($loadTime)
by
Sleep($minLoadTime)
c=0
Do
_CheckForOldTristamRoad() --> Your imgsearch func
Sleep(100)
c++
Until C >100 (10 secs so yo dont get stuck)
Edit: infact, i just saw it implemented, nvm ill just increase the $seconds counter
in fact if you dont mind, i think a switch state structure in this script would be alot better than the current standard flow.