Hey,
i'm new to autoit and wanted to start of by writing a script that's supposed to do knothing but let the minecraft figure run and jump over a hole, but my problem is it stops running before jumping and space also isn't pressed every time
thx in advance:D
zerox
i'm new to autoit and wanted to start of by writing a script that's supposed to do knothing but let the minecraft figure run and jump over a hole, but my problem is it stops running before jumping and space also isn't pressed every time
Code:
#include <Misc.au3>
$letter = "4a" ;"j"
while 1
while _IsPressed($letter)=0 ;start script when "j" is pressed
sleep(10)
WEnd
send("w")
send("{w down}") ;double w -> run
sleep(200)
send("{SPACE}") ;jump
sleep(200)
send("{w up}")
WEnd
zerox