07.12.2009, 18:31
You can't connect to your server because your loop is never ending, you didn't increment i in it. Also you don't need multiple scripts, you can have all of your NPCs use the same script, just make the npcmode react differently to different NPC names.