Element17
2013-03-05 23:13:41
Why does this work? This one moves the other doesn't.
I call them like this.
and this doesn't:
I call them like this.
setupsrl;
paths;
sps_setup(runescape_other,['DuelAR']);
writeln(sps_getmypos);
LetsGo;That works but this doesn't
setupsrl;
path;
sps_setup(runescape_other['DuelAr']);
writeln(sps_getmypos);
Walking('Area'); Procedure LetsGo;
begin
if sps_walkpath(toarea) then
writeln('moving')
else
writeln('not moving');
end; and this doesn't:
Function Walking(Which: String): Boolean;
begin
If(Not(LoggedIn)) Then Exit;
Result := False;
case Lowercase(Which) of
'Area':
begin
if SPS_WalkPath(ToArea) then
status := 'walking to the portal'
else begin
status := 'failed walking to the portal';
writeln(status + ' time running:' +timerunning);
end;
writeln(status + 'time running:' +timerunning);
end;
'Portal':
begin
if SPS_WalkPath(ToPort) then
status := 'walking to the portal'
else begin
status := 'failed walking to portal';
Writeln(status + 'time running:' +timerunning);
end;
Writeln(status + 'time running:' +timerunning);
begin
Writeln('Walking to '+Which);
FFlag(0);
end;
end;
end;
end;