1- Move my mouse to a random point on my screen and back
2- Have it set at a random time that is no longer than 5 minutes
3- (Not required but pref) Have it move only on the horizontal axis
4- Try to make sure it doesn't draw any patterns (I'm using this script for Runescape)
Why do I need this code? I am trying to afk mine on Runescape, but their system is too good at detecting bots, so I want a script that won't draw any patterns.
The best I could find atm isn't random and is:
Code: Select all
toggle := 0
F1::
MouseGetPos, MouseX, MouseY
if toggle := !toggle
gosub, MoveTheMouse
else
SetTimer, MoveTheMouse, off
return
MoveTheMouse:
MouseMove, 200, 200
SetTimer, MoveTheMouse, -3000 ; every 3 seconds
MouseMove, %MouseX%, %MouseY%
return