SRL Archive - RS3 Outdated / Broken Scripts

Simple move to color script plz


ownage_99

2008-11-25 21:55:45

can some 1 please make me a script which takes the color i give it and just moves the mouse to that location, not using smart, i dont know much about scripting but tried changing some stuff from scripts that have similar things but it don't work proper…

mormonman

2008-11-25 23:55:10


program colorfinderthenmousemover;
{.include SRL\SRL.scar}
var
x,y: integer;
color: integer;

procedure findandmove;
begin
color :=yourcolorhere;
if findcolorspiral(x,y,color,msx1,msy1,msx2,msy2) then
MMouse(x,y,5,5)
end;
begin
setupsrl;
activateclient;
findclick;
writeln('mormonman is awesome');
status('mormonman is awesome');
disguise('mormonman is awesome');
end.
i think it works…
Edit: it works…

HarryJames

2008-11-26 13:22:50

color: integer;

procedure findandmove;
begin
color :=yourcolorhere;
Wouldnt it be just easier to add the colour to the variable using a const and then use that or just add a color to the
findcolorspiral

mormonman

2008-11-26 13:49:25

this would let him use different colors in the same procedure… just depends on what you want

Baked0420

2008-11-30 13:41:28

From: mormonman

program colorfinderthenmousemover;
{.include SRL\SRL.scar}
var
x,y: integer;
color: integer;

procedure findandmove;
begin
color :=yourcolorhere;
if findcolorspiral(x,y,color,msx1,msy1,msx2,msy2) then
MMouse(x,y,5,5)
end;
begin
setupsrl;
activateclient;
findclick;
writeln('mormonman is awesome');
status('mormonman is awesome');
disguise('mormonman is awesome');
end.
i think it works…
Edit: it works…



you should use a tolerance if it's for runescape but that's not a big deal but it wouldn't work because in the mainloop you have findclick; but you called the procedure findandmove; not findclick; so you would have to fix that then it would work I think