[Freedom-misc] Looking for an autoclicker

zigote at riseup.net zigote at riseup.net
Fri Mar 20 12:44:27 CET 2020


Yes, you are right about "% 10" (it was late at night when I typed it).

The requirement was "between 1 and 2 seconds" without any specific  
flexibility. Now I also read it is about a "mindless videogame", so it still  
doesn't seem necessary.

If flexibility and higher precision is required:

sleep "$(( MIN + RANDOM % (MAX-MIN) )).$(( RANDOM % 1000 ))"

This will sleep randomly from MIN to MAX-0.001 seconds.


More information about the Freedom-misc mailing list