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?
Very basic autoclclicker with random delay.
Re: Very basic autoclclicker with random delay.
Code: Select all
F8::
Toggle := !Toggle
While Toggle{
Click
Random, rand, 1000, 4000 ; ms
sleep %rand%
}
return
f2:: pause
Who is online
Users browsing this forum: garry, Google [Bot], marypoppins_1 and 113 guests