I'm having a bit of trouble with waypoints and NPCs - specifically this blasted fellow:

All I want him to do is scuttle around on some rocks. After searching through other people's threads and a few attempts to code this I can't seem to get him to go anywhere. It's probably something simple that I'm doing wrong - Here's my attempt:
function room_RepExec()
{
cCrab.Walk(113, 185, eNoBlock, eAnywhere);
cCrab.AddWaypoint(14, 186);
cCrab.AddWaypoint(15, 149);
cCrab.AddWaypoint(14, 186);
cCrab.AddWaypoint(113, 185);
}
When I put the blocking thingy as 'eBlock', he walked to the first point and stopped, but didn't go to his next destination.
Can anybody give me any pointers?
EDIT: I should mention - he tries to walk, i.e. his walking animation is playing, but he doesn't move off his comfy little spot.

All I want him to do is scuttle around on some rocks. After searching through other people's threads and a few attempts to code this I can't seem to get him to go anywhere. It's probably something simple that I'm doing wrong - Here's my attempt:
function room_RepExec()
{
cCrab.Walk(113, 185, eNoBlock, eAnywhere);
cCrab.AddWaypoint(14, 186);
cCrab.AddWaypoint(15, 149);
cCrab.AddWaypoint(14, 186);
cCrab.AddWaypoint(113, 185);
}
When I put the blocking thingy as 'eBlock', he walked to the first point and stopped, but didn't go to his next destination.
Can anybody give me any pointers?
EDIT: I should mention - he tries to walk, i.e. his walking animation is playing, but he doesn't move off his comfy little spot.