So i need help with this code
XButton1::
Toggle := !Toggle
While Toggle{
Click
sleep 60
}
return
So what it does is click 10-11 cps constantly and im looking to randomize it a bit more but not too much
what i would like it to do is click maybe like 10-11 then like maybe ever 3 seconds go down to 8-9 then back up to 10-11.
If anyone could help me with this it would mean a lot!. Thanks for your time
Need help with random sleep time
Re: Need help with random sleep time
This could work, did not want to try it out because of all those clicks. ![Laughing :lol:](./images/smilies/icon_lol.gif)
![Laughing :lol:](./images/smilies/icon_lol.gif)
Code: Select all
#SingleInstance, force
Loop
{
vsleep = 60
Sleep, 3000
vsleep = 120
Sleep, 3000
}
XButton1::
Toggle := !Toggle
While Toggle{
Click
Sleep %vsleep%
}
return
Re: Need help with random sleep time
Even more random would be:
Code: Select all
#Persistent
#SingleInstance, force
Loop
{
Random, vsleepclick, 60, 120
Random, vsleep, 2000, 4000
Sleep, %vsleep%
}
XButton1::
Toggle := !Toggle
While Toggle{
Click
sleep %vsleepclick%
}
return