SCAR Code:
program GoblenKiller;
{.include srl/srl.scar}
var
x, y: Integer;
begin
activateclient;//puts rs window on top after you use crosshairs on it
setupsrl;//allows you to use srl functions and procedures
repeat
if not (FindColorTolerance(x, y, 251224, 1, 1, 350, 320, 25))then//if it doesnt find this one
if not (FindColorTolerance(x, y, 9666382, 1, 1, 350, 320, 25))then //it will search for this one
if not (FindColorTolerance(x, y, 4208674, 1, 1, 350, 320, 25))then// then this one
if FindColorTolerance(x, y, 251224, 1, 1, 350, 320, 25)then//then this one
begin
MMouse( x, y, 1, 1);// the 1's are like a pixel tolerance
Mouse(x, y, 1, 1, True);//same here
Wait( RandomRange( 500, 1000));// Makes the wait time random between 500 and 1000 MS
end else // if it doesnt find any of the monster colors
WriteLn(' did not find monster, Terminating Script'); //then it will say this on Scar
TerminateScript;// then end the script
Exit;
until(False);// you should try and avoid endless loops like this aswell
end.