This is how u add WP to npcs (WP = WayPoints)
Step 1:
First go to a place and add a mob
Step 2:
and when u have added a mob go to a place u want that mob to go to then type in game .way add 1 then he will go to that place
Step 3:
but now u need to go to that same place where u spawned that mob and write
.way add 2 or he will only stand still at that place where u writed .way add 1
and u can add more waypoint of u want the mobs to go to many places... TO SAVE TYPE .WAY SAVE
Type .Way in game and you will see more wayP commands.