So I made a script that works, but the script doesn't spam left click fast enough to break all the sugar cane.
loop
{
^r::
sleep, 200
While GetKeyState("LButton")
Click
;Main Script: Repeat 30 times (about 3hrs)
loop, 30
{
;Chop down all 22 rows of cane
;left 12sec, up 0.175sec, right 12sec, up 0.175 sec
loop, 11
{
Send {click down}
Send {a down}
sleep 12000
send {a up}
send {w down}
sleep 175
send {w up}
send {d down}
sleep 12000
send {d up}
send {w down}
sleep 175
send {w up}
send {click up}
}
;eat food once you've chopped all the cane
Send 1
send {click right down}
sleep 4000
send {click right up}
}
Esc::ExitApp
return
}
I am new to this and need some guidance. Is there anyway I can make the script spam left click while running the loop for chopping down the cane?
Thanks in advance,
Adaman