[Hilfe]Kann mir einer einer hier ..

02/06/2011 21:54 Scopy™#1
einstellen so das wenn ich F4 drück das er stopt und bei F3 startet

While 1
MouseClick ( "left",975,509,5)
sleep (1000)
MouseClick ( "left",975,509,5)
WEnd
02/06/2011 22:54 omer36#2
PHP Code:
Global $Active = 0

HotKeySet
("{F3}", "_StartBot")
HotKeySet("{F}", "_PauseBot")
HotKeySet("{ESC}", "_EndeBot")

Func _StartBot()
    
$Active = 1
EndFunc

Func _PauseBot
()
    
$Active = 0
EndFunc

Func _EndeBot
()
    Exit
EndFunc

While 1
    
If $Active = 1 Then
        MouseClick
("left", 975, 509, 5)
        
Sleep(1000)
        
MouseClick("left", 975, 509, 5)
    EndIf
WEnd 
02/07/2011 14:30 Scopy™#3
Danke :)
02/07/2011 14:31 Kazaaa#4
#closed