firevenge007
2014-08-07 02:18:52
So, I'm trying to make a script on a RuneScape Private Server. All I wanted for it to do was to click where I was standing as a way to learn how to familiarize myself with Simba. But all my program does is move the mouse to wherever the starting position of my mouse is when I run the program.
Here is the following code:
Any insight on what I am doing wrong? Thanks.
Here is the following code:
Program clicker;
{$i srl-osr/srl.simba}
var
clicks: Integer;
procedure startClicking;
begin
repeat
Mouse(266, 187, 2, 2, true);
Inc(clicks);
WriteLn(IntToStr(clicks));
until (clicks >= 10);
end;
begin
ClearDebug;
startClicking;
end.
Any insight on what I am doing wrong? Thanks.