User751139 Posted August 3, 2006 Share Posted August 3, 2006 (edited) hi there guys, i just need some help resolving this problem, basically i want my script to hit the ("a") button and sleep about 20 mil second and then left click on the mouse (as soon as possible).. and repeat that or i should say have that looped, it's my 1st time using this and i made this from reading th tutorial, i hope you guys can help out a newbie thanks Also it would be great if someone can show me how to toggle the script to on and off or Pause/Unpause with F9 or any of those keys, thanks again any help will be greatly appreciate it This is what i have so far.. i think it's way off... func MoveClick() $Cord = PixelSearch($pos[0] - 200, $pos[1] - 200,$pos[0] + 200, $pos[1] + 200, 0x84849C, 0) if @error then ;MouseMove($MoveCord[0], $MoveCord[1], 0) send("a") sleep(20) ; MouseClick("left") sleep("400") ; EndFunc Edited August 3, 2006 by User751139 Link to comment Share on other sites More sharing options...
rambo3889 Posted August 3, 2006 Share Posted August 3, 2006 Dude you should really read the help file and second this belongs in the support forum not here. My Scripts:Radioblog Club Music DownloaderOther stuff:Fun movieIm serious read the help file it helps :PFight 'Till you drop. Never stop, You Cant give up. Til you reach the top Fight! youre the best in town Fight! Link to comment Share on other sites More sharing options...
User751139 Posted August 4, 2006 Author Share Posted August 4, 2006 Right sorry bout that.. i got it to work thanks, can u tell me how the looping command works? ive read it a few times cant seem to get it to work Link to comment Share on other sites More sharing options...
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