Prairie Posted February 17, 2009 Posted February 17, 2009 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
FireFox Posted February 17, 2009 Posted February 17, 2009 (edited) @Prairie Welcome to autoit forum Just remove all the ']' and '[' from your script Cheers, FireFox. Edited February 17, 2009 by FireFox
Alek Posted February 17, 2009 Posted February 17, 2009 (edited) remove all the ] and [. Edit: too slow Edited February 17, 2009 by Alek [font="Impact"]Never fear, I is here.[/font]
FireFox Posted February 17, 2009 Posted February 17, 2009 (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 February 17, 2009 by FireFox
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now