Here is a generic way of doing what you wanted. It will run to each spot, wither, then run to next spot, wither, nextspot etc etc etc... You need to plug in your x and y coords to x1 / y1 (spot1x / spot1y) , x2 y2, etc.
repeat
gosub pathfind_to_point x1 y1 ; where x1 is your #charposx destination 1, and y1 is #charposy destination 1
gosub wither
gosub pathfind_to_point x2 y2 ; where x2 is your #charposx destination 2, and y2 is #charposy destination 2
gosub wither
gosub pathfind_to_point x3 y3
gosub wither
gosub pathfind_to_point x4 y4
gosub wither
gosub pathfind_to_point x5 y5
gosub wither
gosub pathfind_to_point x6 y6
gosub wither
gosub pathfind_to_point x7 y7
gosub wither
gosub pathfind_to_point x8 y8
gosub wither
gosub pathfind_to_point x9 y9
gosub wither
gosub pathfind_to_point x10 y10
gosub wither
gosub pathfind_to_point x11 y11
gosub wither
until #charghost = yes
;--------------------
sub pathfind_to_point
;%1 #charposx
;%2 #charposy
repeat
set %safety_timer ( #scnt + 20 )
event pathfind %1 %2
wait 5
until ( #charposx = %1 && #charposy = %2 ) || ( #scnt >= %safety_timer )
if #charposx <> %1 && #charposy <> %2
{
display ok Can not find starting point. Please go to Beach area and restart script.
halt
}
return
;---------------------
sub wither
event macro 15 115 ; wither
wait 10
return