Jump to content

Recommended Posts

Posted

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.

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

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