Well...To make a npc move you need to be familar with x and y stuff an example is like...
NPC Code:
if(created){
set move
}
if(move){
x-1;
y+1;
}
Kinda like that except a little more ummm Complicated but there are some good tutorials to read like the Graal tutorial that comes with graal.