This part of you code:
Simba Code:
var
myPath:TPointArray;
begin
SetupSRL;
SPS_Setup(RUNESCAPE_SURFACE,['11_7','11_6']);
myPath := [Point(4646, 2806), Point(4640, 2861), Point(4617, 2885),
Point(4578, 2885), Point(4543, 2881), Point(4542, 2865)];
SPS_WalkPath(myPath);
end;
Need to be defined as a function or procedure, ex:
Simba Code:
Procedure Walk;
var
myPath:TPointArray;
begin
SetupSRL;
SPS_Setup(RUNESCAPE_SURFACE,['11_7','11_6']);
myPath := [Point(4646, 2806), Point(4640, 2861), Point(4617, 2885),
Point(4578, 2885), Point(4543, 2881), Point(4542, 2865)];
SPS_WalkPath(myPath);
end;
It's also nice to have DecalrePlayres as the first function/procedure in your script, since there's where people edit settings etc.