everytime my char loses he's position, he gets stuck because there are some wpts that keeps looping back, and this is a huge problem for me :/ so i was thinking about add the position to the check/fishing waypoint

PHP Code:
if pos(x,y,z) or itemcount("fish") < or cap 50
then gotolabel
("x")
end 
can someone makes an working example for me please? I couldnt make it works