hmmm.. maybe they can add another else if somewhere in the search codes like if the checkTownhall() returns "-" , the bot will click next?
I am not sure about this code, but maybe something like this
Code:
ElseIf checkTownhall() = "-" Then
SetLog("~~~~~~~Unable to detect Townhall, skipping~~~~~~~", $COLOR_ORANGE)
Click(750, 500)
tried the code above, it didn't work. I'm about to try this code next. Still going to put this in the villageSearch under the deadbase if clause.
Code:
ElseIf $searchTH = "-" And $THLoc = "-" Then
SetLog("~~~~~~~Unable to detect Townhall, skipping~~~~~~~", $COLOR_ORANGE)
Click(750, 500)
I am still using 5.5.