Wtf does they mean by '.' expected,i'm trying to close a begin,not the entire script...
SCAR Code:
Line 36: [Error] (18663:4): period ('.') expected in script C:\Program Files\SCAR 2.03\Scripts\NEW.scar
Here is the script:
SCAR Code:
program Test;
{.include SRL/SRL.scar}
{.include SRL/SRL/Skill/Mining.scar}
const
ClayColor = 7515081;
var Jug, Water:integer;
procedure MineClay;
begin
if (FindColorSpiralTolerance(x, y, clayColor, 5, 5, 514, 337, 2)) then
begin
MMouse(x, y, 0, 0);
Wait(100);
MakeCompass('N');
GetMousePos(x,y);
Mouse(x, y, 0, 0, true);
Wait(3000 + Random(1000));
end;
end;
begin
repeat
MineClay;
until(InvFull);
Jug := DTMFromString('78DA6314656060006124D05A53CDF01F48330' +
'2F17F2060E40532D819D000231209A42580841CAA0A0305055435' +
'FC4042968039DC40421C55C592993350D5808CE523608E3C90902' +
'2A0461A48B01150D300247219B002981A001EE80B0B');
Water := DTMFromString('78DA63E4666060E065400126318F18FE03694' +
'620FE0F048C82400607AA1A464646080DE383CC6125A086950873' +
'D8808420117609135003324300BF1A00FABB0732');
MakeCompass('S');
end;
procedure Water;
if FindDTM(Water,x, y,1, 1, 200, 200) then
Wait(100);
MMouse(x, y, 0, 0);
GetMousePos(x,y);
Mouse(x, y, 0, 0, true);
end.
If at least i could understand that i could continue the script,everything seems to work fine for me but for the END;