AutoIT syntax
I'm really confused about how the syntax in AutoIT works sometimes.
Sometimes you have have spaces between different parts of functions or variable settings. All of the following are currently working fine with spaces.
And yet, when I was just trying to implement an AP spending delay, the following refused to work until I took out the spaces.
And made it look like
Any idea where the line of differentiation is between where to have spaces are where not to?
Sometimes you have have spaces between different parts of functions or variable settings. All of the following are currently working fine with spaces.
Code:
MouseClick("left", $XColumn1, $YRow1, 1)
$Paused = NOT $Paused
$PixelCheck = PixelGetColor($PixelCheckBoatX,$PixelCheckBoatY)
Code:
ElseIf $APTimes > 0 Then $APTimes = $APTimes - 1
Code:
ElseIf $APTimes>0 Then $APTimes=$APTimes-1


