Jump to content
Sign in to follow this  

Quick Question

Recommended Posts

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

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)


sleep(20) ;


sleep("400") ;


Edited by User751139

Share this post

Link to post
Share on other sites

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

Share this post

Link to post
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
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...