I would like to have a more human behaviour , so i 've tried to introduced 2 new functions. RandSleep(x,y) and RandPotlife(x,y) cf ref at the end of the post.
I've added this new features on autopot.ahk, the random value for pot thresholddidn't work because the value are stored on an ini static file. I've put the RandSleep before each input key command, it seems to work.
I am not a developper so i probably didn't have the correct vision to do it properly, so don't hesitate to give a hint or two in order to introduce this feature.
By advance thanks.
;Call this function
RandSleep(x,y)
;You specify the x and y values, in the above example the x was 100 and the y was 180
RandSleep(x,y) {
;Generate a random number between x(100) and y(180)
Random, rand, %x%, %y%
;Sleep for the random amount
Sleep %rand%
}
;Call this function
RandPotlife(x,y)
;You specify the x and y values, in the above example the x was 100 and the y was 1000
RandPotlife(x,y) {
;Generate a random number between x(100) and y(1000)
Random, rand, %x%, %y%
;Send variable rand
Send %rand%
}
First, i would like to thank you, fo your work.
I would like to have a more human behaviour , so i 've tried to introduced 2 new functions. RandSleep(x,y) and RandPotlife(x,y) cf ref at the end of the post. I've added this new features on autopot.ahk, the random value for pot thresholddidn't work because the value are stored on an ini static file. I've put the RandSleep before each input key command, it seems to work.
I am not a developper so i probably didn't have the correct vision to do it properly, so don't hesitate to give a hint or two in order to introduce this feature.
By advance thanks.
;Call this function RandSleep(x,y)
;You specify the x and y values, in the above example the x was 100 and the y was 180 RandSleep(x,y) { ;Generate a random number between x(100) and y(180) Random, rand, %x%, %y% ;Sleep for the random amount Sleep %rand% }
;Call this function RandPotlife(x,y)
;You specify the x and y values, in the above example the x was 100 and the y was 1000 RandPotlife(x,y) { ;Generate a random number between x(100) and y(1000) Random, rand, %x%, %y% ;Send variable rand Send %rand% }