Jump to content

Recommended Posts

Posted

Here's the code I'm using now:

$xaxis = Random( [466 [, 558 [, 1]]] )

$yaxis = Random([294 [, 376 [, 1]]])

$clicks = Random([1 [, 3 [, 1]]])

$clickspeed = Random([10 [, 20 [, 1]]])

MouseClick("left", [$xaxis, $yaxis [, $clicks [, $clickspeed]]])

I'm very new to this and am not sure why this isn't working, is $ only for words? (and if so, what's the symbol for integers?).

I'm trying to make a box that gets clicked in a random location with co-ordinates as the walls that don't get clicked outside of. Any help is appreciated, thank you :)

Posted (edited)

@Prairie

Welcome to autoit forum :)

Just remove all the ']' and '[' from your script

Cheers, FireFox.

Edited by FireFox
Posted (edited)

remove all the ] and [.

Edit: too slow :(

Edited by Alek

[font="Impact"]Never fear, I is here.[/font]

Posted (edited)

@Alek

Although im on my iPod, im faster than you, you should try to tape faster on your keyboard :)

Edit : @Prarie -> use CODE tags for write your scripts on the forum :)

Cheers, FireFox.

Edited by FireFox

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
×
×
  • Create New...