dice4321 / Gunkolle

This script was originally meant to execute kancolle expeditions but was repurpose for girls frontline (by Ryuuhou https://github.com/Ryuuhou/AHKanColle)
Other
16 stars 14 forks source link

Variable sleep function #4

Closed mrmin123 closed 6 years ago

mrmin123 commented 6 years ago

Adds the RSleep(length) function which instantiates a sleep of length +/- 150ms. If length is not passed in it defaults to 600 +/- 150ms.

In the PR I made it so it is called with the default value at the end of every RFindClick. This is much slower than the rapid-fire solution that exists right now so you may need to adjust to your liking.

Also a bunch of hanging whitespace cleanup done automatically done by my editor.

dice4321 commented 6 years ago

Looks good, thanks for the pull request!