Jump to content

MouseClickDrag() plus Random()


Recommended Posts

Added in some randomness to the MouseClickDrag function so it would seem as if it's normal human input.

MouseClickDrag("left", Random(693, 726, 1), Random(114, 145, 1), Random(684, 713, 1), Random(399, 428, 1), Random(3, 6, 1))

The moment I added in the randomness it seems to almost break the code, as if mouse clicks were missing. I increased the mouse click delays and still seemed to not pick up the mouse clicks.

Opt("MouseClickDownDelay",100)

Do I have to set temporary variables using Random() then call the variables from MouseClickDrag() or should something like this actually work?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...