First I want a script that is simple. Its for a situation in a game when I have to go afk for a bit but still want to continue with my work. It is simple: I want to press a specific button for a "random" time that release it make a break of some time with also a random inside. I dont know to explain it properly but simply both the time to hold the button down and the time to the next press should be both randomized
My Script looks like this
Code: Select all
Numpad0::
Send {E down}
sleep, Random, 250, 390
Send {E up}
Settimer, senden, 3150, 3820
Return
senden:
Send {E down}
sleep, Random, 250, 390
Send {E up}
Return
Numpad1::
Settimer, senden, off
Return
I know the problem is very simple but i cant get it to work properly.
I would be happy for any help
[Mod actions: Moved topic to "Gaming", changed spoiler tags to code tags.]