Very basic autoclclicker with random delay. Topic is solved
Posted: 21 Jul 2018, 05:45
Hello, i've looked into a decent bunch of guides right now, but i often get confused.
If you were to right a script, that whenever you press F8 clicks, than waits between 1 and 4 seconds (randomized) and than clicks again, than the loop goes back up.
How would you go over it, and is this correct?
I currently have this ;
---------------------------------------------------------------
F8::
Toggle := !Toggle
While Toggle{
Click
sleep 1
}
return
f2:: pause
--------------------------------------------------------------
But i have no clue wheter i should use sleep rndm 100 , 400 - i don't know how i can make the program use random between 1 and 4 seconds..
can anyone please help me with this superbasic script?
If you were to right a script, that whenever you press F8 clicks, than waits between 1 and 4 seconds (randomized) and than clicks again, than the loop goes back up.
How would you go over it, and is this correct?
I currently have this ;
---------------------------------------------------------------
F8::
Toggle := !Toggle
While Toggle{
Click
sleep 1
}
return
f2:: pause
--------------------------------------------------------------
But i have no clue wheter i should use sleep rndm 100 , 400 - i don't know how i can make the program use random between 1 and 4 seconds..
can anyone please help me with this superbasic script?