SCAR Code:
procedure SetRockColor;
begin
Case Rock of
'Clay' : RockColor := ClayColor;
'Tin' : RockColor := TinColor;
'Copper' : RockColor := CopperColor;
'Iron' : RockColor := IronColor;
'Gold' : RockColor := GoldColor;
'Mithril' : RockColor := MithrilColor;
'AddyColor' : RockColor := AddyColor;
'RuneColor' : RockColor := RuneColor;
else
begin
WriteLn('Invalid RockType.');
TerminateScript;
end;
end;
end;
ok so above is the procedure that im using in my mining script!!!
but what do i put in the script below, to find the rock color because im kinda finding it a bit weird
SCAR Code:
if FindColorSpiralTolerance(x, y, RockColor, 1, 1, 515, 338, 5) then
p.s
the mouse just goes to the top left of the rs screen and stays there!!
**EDIT**
please people its not working at all, i would be thankful for all help!