I want do bot for Polish Game "footballteam.pl"
And i want do option, if press button, then click 2 time, 400 px right to the image, and its while 1 min...
Code:
While 1
Select
Case $msg = $button1
$x1=0
$y1=0
Dim $anArray[2]
$anArray[0]=1
$anArray[1]="atak.bmp"
$result = _WaitForImagesSearch($anArray,15,1,$x1,$y1,0)
While 1
if $result=1 Then
MouseClick( "left", $x1 + 400, $y1, 2, 1)
EndIf
sleep (60000)
WEnd
WEnd






