03-04-2015, 01:12 AM
try this ?
Code:
ElseIf $iradAttackMode = 0 or $THLoc = "Outside" Then
If checkDeadBase() Then
SetLog("~~~~~~~Dead Base Found!~~~~~~~", $COLOR_GREEN)
ExitLoop
Elseif $THLoc = "Outside" Then
SetLog("~~~~~~~Outside Townhall Found!~~~~~~~", $COLOR_PURPLE)
ExitLoop
Else
SetLog("~~~~~~~Not dead base, skipping~~~~~~~", $COLOR_ORANGE)
Click(750, 500) ;Click Next
EndIf