Help with simple thieving script please!
Hey everyone, I'm really new to scripting and I'm just trying to get a very simple thieving script working on a private server.
It functions essentially the same as an auto clicker, and could easily be replaced by one, but I decided to do this for practise.
Here it is..
Code:
Program ClickStall;
{$i SRL-OSR/srl.simba}
Procedure ClickStall;
var
X,Y:Integer;
begin
if FindColorTolerance(X, Y, 10867935, 247, 200, 336, 230, 3) then
begin
mmouse(x, y,1,1);
wait(250);
ClickMouse(X, Y, mouse_Left)
end;
end;
Begin
MouseSpeed := 15;
SetupSRL;
end.
So, as you can see, its extremely basic. It compiiles perfectly but my problem is trying to run the script.
When I press run I get..
Code:
SRL Compiled in 31 msec
Successfully executed.
but, nothing happens in the client, and yes i did drag client selector to my client.
Any help would be greatly appreciated! I hope to contribute to this community in a big way in the future, thanks :)