I am trying to learn and to make a script to get my mouse to move and do a series of clicks on my screen to get into a server that is usually full with no auto-join feature.
So far I have this, trying to key bind it to my f1 key to run and stop the script and then loop itself to keep running. Its supposed to click 3 different spots then ESC button twice and it's final click. My problem is that the mouse is actually moving on my screen, and it does it very slowly. Is this a correct way I should be doing this, or any insight / help anyone can give me would be awesome.
heres what ive gotten so far
Code: Select all
F1::
CoordMode, MouseClick
SetMouseDelay, 240
Loop, 100 {
Click, 251 -249
Click, 685 160
Click, 663 307
send {esc}
send {esc}
Click, 240 890
}
[Mod edit: Added [code][/code] tags. Please use them yourself when posting code.]
[Mod action: Moved topic to the v1 section since this is v1 code. The main section is for v2.]