oh man leute -.-
so schwer is das ja wohl nich ^^
ganz simple:
$windowname = "NosTale"
$schlafentimmer = TimerInit()
While 1
Attack()
Sammeln()
schlafen()
WEnd
Func Sammeln()
ControlSend($windowname, '', '', "x")
Sleep(20)
EndFunc
Func Attack()
ControlSend($windowname, '', '', "{Space}")
Sleep(20)
EndFunc
Func schlafen()
If TimerDiff($schlafentimmer) > 60000 then
Controlsend($windowname, '', '', "c")
sleep(20000)
Controlsend($windowname, '', '', "c")
$schlafentimmer = TimerInit()
EndIf
EndFunc
er setzt sich nun jede minute für 20 sekunden hin.
|