Weeel, since my other yew cutting script was a failure, I decided to try the same script in Reflection, and I am getting an error like this:
[Error] (24460:4): Identifier expected
I suspect it is a problem with this procedure:
SCAR Code:
procedure NewYew;
var
OtherTree, NormalTrees: TPoint;
NearTree: TPoint;
begin
if not FindYew then
begin
if Debug then WriteLn('No trees found, going to Tree 3.');
SetLoc('Going to the far tree.');
OtherTree := Point(3219, 3502);
WalkToTile(OtherTree, 1, 1);
NearTree := GetMyPos;
if PointInBox(NearTree, IntToBox(3218, 3503, 3220, 3501)) then
begin
FindYew;
if not FindYew then
begin
if Debug then WriteLn('Tree not found, going back.');
SetLoc('Returning from the far tree');
NormalTrees := Point(3207, 3501);
WalkToTile(NormalTrees, 1, 1);
NearTree := GetMyPos;
if PointInBox(NearTree, IntToBox(3206, 3502, 3208, 3500)) then
begin
repeat
Wait(100);
AntiRandoms;
AntiBan;
until(FindYew);
end else
begin
NearTree := GetMyPos;
if PointInBox(NearTree, IntToBox(3202, 3506, 3211, 3499)) then
begin
FindYew;
end else
Lost;
end;
end else
begin
NearTree := GetMyPos;
if PointInBox(NearTree, IntToBox(3218, 3505, 3223, 3498)) then
begin
FindYew;
end else
Lost;
end;
end;
If you can figure it out, thanks! If only it told me which line the error was on... lol. Btw, I know it's a weird procedure I'm just trying to make it very stable