Jump to content
Sign in to follow this  

Very simple question

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)
MouseClick ("left", x, y, speed)

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.

Share this post

Link to post
Share on other sites
This topic is now closed to further replies.
Sign in to follow this