Sign in to follow this  
Followers 0
Game

Basic hotkey to click.

2 posts in this topic

I know this is pretty much almost as basic as you can get, I tried setting it up myself but I guess I need to add in something else to make it stay open and work every single time I press the button. I just tried something basic like if you press F1 it goes to a certain spot and clicks if you press F2 it does the same except another different spot. I may not have even done it right I haven't tried doing much before with it.

CODE
HotKeySet("{F1}", "clicky")

HotKeySet("{F2}", "clicz")

Func clicky()

MouseClick("left",465,535)

EndFunc

Func clicz()

MouseClick("left",588,498)

EndFunc

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

you weed to add

while 1
 sleep(100)
wend

and welcome to the forums ;)

Edited by muhmuuh

I ran. I ran until my muscles burned and my veins pumped battery acid. Then I ran some more.

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  
Followers 0