Log in

View Full Version : Simple right click left click script please



supersayian2224
09-05-2009, 01:01 PM
Could someone just make a simple script that goes right click left click forever with a 10 second break BEFORE the clicking starts? Thanks!

All that is man
09-05-2009, 01:03 PM
err do you mean like

program new;
{.include srl/srl.scar}
begin
wait(10000);
repeat
mouse(100, 100, 0, 0, false);
wait(10);
mouse(100, 100, 0, 0, true);
until(false);
end.


I don't really see where that will get you

Daniel
09-05-2009, 01:25 PM
program New;

var
cX, cY: Integer;

begin
Sleep(10000); //10 second break. 10 * 1000 = 10000 (milliseconds)
GetMousePos(cX, cY); //Get the current mouse position and store it in cX and cY
repeat //Start a loop
ClickMouse(cX, cY, False); //Right Click the mouse at cX and cY
Sleep(10); //Wait 10 milliseconds
ClickMouse(cX, cY, True); //Left Click the mouse at cX and cY.
Sleep(10); //Wait 10 milliseconds
Until(IsFKeyDown(2)); //Specifies that to stop this script you have to press F2.
end.

NOTE: Don't use for Runescape unless you want to get banned. If you want it to be used to RuneScape, just let me know ;)

supersayian2224
09-05-2009, 10:43 PM
I need for runescape :D but i've been doing right click left click on my own (to sell stuff to shops)