Hey guys, I'm new to scripting.
This is what I have so far -
Program KillMen;
{$i srl/srl.simba}
Procedure ClickNPC;
var
X,Y:Integer;
begin
if FindColorTolerance(X, Y, 4098201, 793, 52, 326, 1289, 371) then
begin
mmouse(x, y,1,1);
wait(250);
ClickMouse(X, Y, mouse_Left)
end;
end;
Begin
MouseSpeed := 15;
SetupSRL;
end.
This script is for an rsps - basically there's a static NPC, the script will click the colour specified and that's it so far.
After it does this, I need it the script to wait 40 seconds, and then look for another colour (has one rare drop) and if the colour is found click on it, if not, repeat the process.


Reply With Quote