this is the section of my script:
SCAR Code:if LTAstep = 1 then
begin
for i:= 0 to 3 do
begin
if RadialRoadWalk(FindRoadColor, 110 + (i*5), 70, 70, -1, 0) then
begin
DebugIt('Did Walk on try ' + inttostr(i + 1));
LTAstep:= 2;
Exit;
end else
DebugIt('Did not Walk on try ' + inttostr(i + 1));
end
if EndsWith('4', GetDebugText) then
begin
if (length(between('Did', 'Walk', GetDebugText) > 1) then
begin
DebugIt('Couldnt walk from the start in varrock along the road.');
Players[CurrentPlayer].active := False;
end;
end;
end;
this part:
SCAR Code:if EndsWith('4', GetDebugText) then
begin
if (length(between('Did', 'Walk', GetDebugText) > 1) then
begin
DebugIt('Couldnt walk from the start in varrock along the road.');
Players[CurrentPlayer].active := False;
end;
end;
is what i think can be done easier.. it should work for what i want it to do.. but for the sake of time and simplicity i was wondering if there was an easier way to do it.
thanks
EDIT:
oh plus.. DebugIt only Writeln's if you want to "HelpME" (haha).. so this will only work if they do wanna help me.. of coarse i could use it as punishment for not helping... just kidding i dont want to haha


Reply With Quote



