Jump to content

question about using variables


Recommended Posts

if i set $k = random(0,10)

mouseclick("left", $k, $k)

mouseclick("left", $k, $k)

mouseclick("left", $k, $k)

does it get a random number everytime it reads $K, or does it read $k once, and use same numner over and over again?

Link to comment
Share on other sites

i tested it with mousemove, and i'd gimmie same one everytime though

how do i get it to do something like

$K = random(6, 12)

while 1

$J = 0

Do

mouseclick("left", 100,100)

sleep(1000)

$J = $J+1

until $J = $K

wend

i want a random $k everytime the loop finsihes

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...