Jump to content

Basic hotkey to click.


Game
 Share

Recommended Posts

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

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...