Yeah... Guess is easy to learn the basics.. Saw that you registered a event at the beginning and then it goes with if and elseif so it recognize each waypoint and do the action for each one. BUT... I case of server down. It will reopen bps or I'll have to do one "persistent" or a loop?
This is done in Bollo's free lua script that is available to download on his thread, my doesnt do that... also Solid Scripts and Official Xeno scripts do that, dunno about shadowart but I bet his as well...