Jump to content

Very simple question


Avester
 Share

Recommended Posts

I'm looking for a very simple script to make a part of a game little easier. When a hotkey, say F2 is pressed, it should move the cursor to one location (i've got the coordinates) and left-click, then to a second place and leftclick, and a third. I'm really new to this, but it should be something like:

If Keyf2 = 1 then
MouseClick ("left", x, y, speed)
sleep(30)
MouseClick ("left", x, y, speed)
etc.
EndIf

My question is how I make it react on the fact that the hotkey is pressed down. I can't find the method for that.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

  • Recently Browsing   0 members

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