You sure your script looks like this:
SCAR Code:
program PowerRock;
{.include SRL\SRL.scar}
{//_____________Zennext's PowerRock_______________//}
const loads = 2; {// How many loads you want script to do //}
const cord1 = 5; {// The first inventory slot to drop (Only change //}
{// if you have more items in you inventory that //}
{// you dont want to drop) Slots are like this: //}
{// 1 2 3 4 //}
{// 5 6 7 8 //}
{// 9 10 11 12 etc. //}
const cord2 = 28; {// The second inventory slot to drop //}
const color = 5209259; {// The color of the rock you want to mine //}
const twait = 7; {// Wait time in seconds for mining a rock //}
{// This should change depending on your Mining //}
const rundir = 'N';{// Direction to run if random event fight //}
var
x,y,i: integer;
procedure Randoms; {// Anti-randoms! //}
begin
FindTalk;
FindNormalRandoms;
if (FindFight = true) then
begin
RunAwayDirection(rundir);
Wait(10000 + random(2000));
RunBack;
end;
end;
procedure RockMine; {// This mines ores until the inventory is full //}
begin
repeat
if(FindColorTolerance(x, y, color, 0, 0, 700, 500, 4))then
begin
Mouse(x, y, 0, 0, true);
Wait(twait * 1000 - 200);
end
Randoms;
Wait(200);
until(InvFull)
end;
procedure Signature; {// Writes my signature :D //}
begin
ClearDebug;
writeln('Z'); wait(100)
writeln('Ze'); wait(100)
writeln('Zen'); wait(100)
writeln('Zenn'); wait(100)
writeln('Zenne'); wait(100)
writeln('Zennex'); wait(100)
writeln('Zennext'); wait(100)
writeln('Zennext'''); wait(100)
writeln('Zennext''s'); wait(100)
writeln('Zennext''s '); wait(100)
writeln('Zennext''s P'); wait(100)
writeln('Zennext''s Po'); wait(100)
writeln('Zennext''s Pow'); wait(100)
writeln('Zennext''s Powe'); wait(100)
writeln('Zennext''s Power'); wait(100)
writeln('Zennext''s PowerR'); wait(100)
writeln('Zennext''s PowerRo'); wait(100)
writeln('Zennext''s PowerRoc'); wait(100)
writeln('Zennext''s PowerRock'); wait(1000)
writeln(''); wait(100)
writeln(''); wait(100)
writeln(' ______ Script by Zennnext _ ');
writeln(' |___ / [url]www.srl-forums.com[/url] | | ');
writeln(' / / ___ _ __ _ __ _____ _| |_ ');
writeln(' / / / _ \ ''_ \| ''_ \ / _ \ \/ / __|');
writeln(' / /_| __/ | | | | | | __/> <| |_ ');
writeln(' /_____\___|_| |_|_| |_|\___/_/\_\\__|');
wait(3000 + random(750));
end;
begin {// Main scripts //}
SetupSRL;
Signature;
repeat
RockMine;
i:= i + 1
DropToPosition(cord1, cord2)
until(i >= loads)
end.
And you have at least SCAR 3.12c or newer and you have latest SRL?