SRL Archive - OSR Help

need help moving mouse down(please read . . . )


MagicMushroomKillaMMK

2013-09-12 23:22:29

Dumb question, but yea. IT's going to be this way since SRL is not up to date…Can still make the s cript work good though.


I want to move the mouse to an object,

right click

move mouse down 10 for sure
with a randomness of about 20




How can I do this?

Flight

2013-09-13 00:06:28

Here's basically how it would look:

procedure MoveMyMouse;
var
X,Y: Integer;
begin
MMouse(Object.X, Object.Y, 5, 5); // Move the mouse to your object's X/Y coordinate with random 5 X and random 5 Y
ClickMouse2(mouse_right); // Right-click
GetMousePos(X,Y);
MMouse(X, (Y+10), 0, 20); // Move the mouse down +10 with a random +/- 20
end;