code for npc
<mapname>,<x>,<y>,<facing><tab><script><tab><npcname><tab><npcsprite>,{
e.g prontera,64,99,4<tab button not space>script<tab again>npchatapple<tab again>851,{
to know your coordinate. type /where ingame. it will display on bottom of chat
e.g prontera(64,99)