Shoot()
;________________________________________________
;________________________________________________
;________________________________________________
Func Shoot()
While 1
Local $coord = PixelSearch(926,475,987,535,0xBA0714,30)
If Not @
error Then
MouseClick("Left")
EndIf
WEnd
EndFunc
;________________________________________________
;________________________________________________
;________________________________________________
While 1
$counter +=1
WEnd
;________________________________________________
;________________________________________________
;________________________________________________
Func TogglePause(0)
; ConsoleWrite('>Error code: ' & @
error & @
CRLF & @
CRLF & '@@ Trace(24) : $Paused = NOT $Paused' & @
CRLF) ;### Trace Console
$Paused = NOT $Paused
; ConsoleWrite('>Error code: ' & @
error & @
CRLF & @
CRLF & '@@ Trace(26) : While $Paused' & @
CRLF) ;### Trace Console
While $Paused
sleep(100)
;ToolTip('Script is "Paused"',0,0, $counter, 1)
WEnd
ToolTip("")
EndFunc
;________________________________________________
;________________________________________________
;________________________________________________
Func Terminate()
Exit 0
EndFunc
;________________________________________________
;________________________________________________
;________________________________________________
I don't understand