21 Apr 2016, 10:07
Ok for some reason it wouldn't let me edit my post but I've changed things up a bit; this script I have is working kinda
NumpadDot::
Random, RandomX, 1014, 1040
Random, RandomY, 129, 141
MouseClick, Right, %RandomX%, %RandomY%
RandSleep (1,6)
Mousemove, 0, 70, 1, R
RandSleep (1,4)
Click
RandSleep (1,5)
Esc
Return
What I'm wanting it to do is right click in a random coordinate, specified above and move the cursor down and left click then also press escape, it was working when I didn't add the "Esc" at the end but with it I'm getting an error, also it's clicking where I want it to when I'm actually clicked off the game (not in the actual window for the game that I have pulled up - it doesn't take up the whole monitor screen) when I'm actually clicked on the game and try to use the script then it goes way off of where I want it to go - so not sure if I have to use the coordinates for the actual game screen or the coordinates of my monitor.