
Originally Posted by
mriddler
MoveMouse(x, y);
ClickMouse(x, y);
Usually works for people who are starting up.
this, or if you want something that looks more human, and less botty:
MMouse(x , y, rx, ry); //similar to MoveMouse();
ClickMouse2(button); //clicks either right or left mouse button
Mouse(x, y, rx, ry, button); //moves mouse to x,y then clicks
EDIT: here is the difference between MoveMouse(); and MMouse();
Steps to view this:
1. run code - after 1 second, MoveMouse(); will start moving the mouse to 3 spots
2. after you are done viewing MoveMouse(); press F5
3. after a second, MMouse(); will start moving the mouse to the same 3 spots
4. press F5 again when done.
Code:
program new;
{$I SRL/SRL.simba}
begin
setupsrl;
wait(1000);
repeat
movemouse(100,200);
movemouse(450,350);
movemouse(700,200);
until(isfkeydown(5));
wait(1000);
repeat
mmouse(100,200,0,0);
mmouse(450,350,0,0);
mmouse(700,200,0,0);
until(isfkeydown(5));
end.