@okokokok
oh sry, I haven't even posted a snippet. Here is the function:
function WalkToYew: Boolean;
var myPath: TPointArray;
begin
if not LoggedIn then Exit;
SetScreenMouse(0, '');
SetRun(True);
SPS_Setup(RUNESCAPE_SURFACE,['10_6','10_7','11_7','11_6','9_6']);
myPath := [Point(4212, 2661), Point(4211, 2668), Point(4211, 2674), Point(4211, 2678), Point(4209, 2681), Point(4205, 2683), Point(4199, 2683), Point(4193, 2684), Point(4191, 2690), Point(4191, 2694), Point(4195, 2702), Point(4198, 2705), Point(4200, 2709), Point(4204, 2712), Point(4208, 2714), Point(4208, 2719), Point(4210, 2724), Point(4210, 2728), Point(4209, 2732), Point(4208, 2739), Point(4209, 2744), Point(4210, 2746), Point(4211, 2749), Point(4212, 2752), Point(4213, 2755), Point(4210, 2758), Point(4207, 2761), Point(4206, 2766), Point(4202, 2769), Point(4194, 2769), Point(4191, 2767), Point(4188, 2764), Point(4184, 2760), Point(4183, 2756), Point(4183, 2751), Point(4183, 2748), Point(4097, 2919), Point(4427, 2904), Point(4418, 2576), Point(4099, 2494), Point(3926, 2783), Point(4070, 2783)];
SPS_WalkPath(myPath);
Result := True;
writeln('we are here');
end;
The problem is that it waits 10 seconds before he writes "we are here".