I'm trying to make a clay maker in the mining guild but i keep getting the error
"Close Round expected in Script'
I attached the script. If you could please take a look it would be greatly appreciated.
I'm trying to make a clay maker in the mining guild but i keep getting the error
"Close Round expected in Script'
I attached the script. If you could please take a look it would be greatly appreciated.
You had an extra semi-colon and you don't need a ':=' for comparing... it just
a = 28.
But, there's now an unknown identifier on line 45, no idea.
Attached the "fixed" script.
Here you go:
SCAR Code:program CraftingGuildClayCrafter;
{.include srl/srl.scar}
Const
ClayColor=0;
Procedure MineClay;
Var
x,y:integer;
Begin
MakeCompass('w')
Repeat
FindNormalRandoms;
FindMSColor(x,y,claycolor);
Mouse(x,y,1,1,true);
Wait(3000+random(1000));
Until(InvFull);
end;
Procedure WetClay;
Var
x:integer;
Begin
MakeCompass('n');
x:=2;
repeat
MouseItem(1,true);
Wait(250+random(500));
MouseItem(x,true);
x:=+1;
Until(x=28);
end;
Procedure MakeClay;
Begin
repeat
FindSymbol(x,y,'pottery');
Mouse(x,y,1,1,true);
Wait(3000+random(500));
Until(FindObjMulti('Potters Wheel',8618893,2369592,3227728,20));
end;
begin
end.
[CENTER][img]http://signatures.mylivesignature.com/54486/113/4539C8FAAF3EAB109A3CC1811EF0941B.png[/img][/CENTER]
[CENTER][BANANA]TSN ~ Vacation! ~ says :I Love Santy[/BANANA][/CENTER]
[CENTER][BANANA]Raymond - Oh rilie? says :Your smart[/BANANA][/CENTER]
There are currently 1 users browsing this thread. (0 members and 1 guests)