#deleted
Global $Active = 0
HotKeySet("{ö}", "_StartBot")
HotKeySet("{ä}", "_PauseBot")
HotKeySet("{ü}", "_EndeBot")
While 1
Sleep(100)
WEnd
Func _StartBot()
$Active = 1
EndFunc
Func _PauseBot()
$Active = 0
EndFunc
Func _EndeBot()
Exit
EndFunc
If $Active = 1 Then
Send( "{1}" )
Sleep (1000)
Send( "{1}" )
Sleep (1000)
Send( "{2}" )
Sleep (1000)
Send( "{3}" )
Sleep (1000)
Send( "{4}" )
Sleep (1000)
Send( "{5}" )
Sleep (1000)
Send( "{7}" )
Sleep (1000)
$coord = PixelSearch( 0, 0, 144, 574, x1B53C8 )
If Not @error Then
Send( "{1}" )
Sleep (1000)
Send( "{1}" )
Sleep (1000)
Send( "{2}" )
Sleep (1000)
Send( "{3}" )
Sleep (1000)
Send( "{4}" )
Sleep (1000)
Send( "{5}" )
Sleep (1000)
Send( "{7}" )
Sleep (1000)
Else
Send( "8" )
Sleep (1000)
Send( "9" )
Sleep (1000)
Send( "0" )
Sleep (1000)
EndIf
EndIf
Global $Active = 0
HotKeySet("{ö}", "_StartBot")
HotKeySet("{ä}", "_PauseBot")
HotKeySet("{ü}", "_EndeBot")
Func _StartBot()
$Active = 1
EndFunc
Func _PauseBot()
$Active = 0
EndFunc
Func _EndeBot()
Exit
EndFunc
While 1
If $Active = 1 Then
Send( "{1}" )
Sleep (1000)
Send( "{1}" )
Sleep (1000)
Send( "{2}" )
Sleep (1000)
Send( "{3}" )
Sleep (1000)
Send( "{4}" )
Sleep (1000)
Send( "{5}" )
Sleep (1000)
Send( "{7}" )
Sleep (1000)
$coord = PixelSearch( 0, 0, 144, 574, 0x1B53C8 )
If Not @error Then
Send( "{1}" )
Sleep (1000)
Send( "{1}" )
Sleep (1000)
Send( "{2}" )
Sleep (1000)
Send( "{3}" )
Sleep (1000)
Send( "{4}" )
Sleep (1000)
Send( "{5}" )
Sleep (1000)
Send( "{7}" )
Sleep (1000)
Else
Send( "8" )
Sleep (1000)
Send( "9" )
Sleep (1000)
Send( "0" )
Sleep (1000)
EndIf
EndIf
WEnd