Nos Bot

06/27/2010 19:51 xxxsimsonxxx#16
cooler bot echt klasse xD
06/28/2010 18:46 HaseHarry#17
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.