Scrip Help

Thanks to ashsid & neilh1 helping me in creating this Pathnode scrip. Now I which to use this file to parent it to a character and let it walk from 1 end of the room to another but when it reach each end point it will stop for a few mins before moving to the other side. A clearer picture is that I making a NPC to walk around a room and stop and look at the shelfs and walk back the same path to where it first started.