lets say the NPC id is "
1234" you need:
in NPCs.txt add this below
1234 1086 16 0 1036 230 209
then go into NPCdialogs.cs and:
add this:
#region TYPE WHAT EVER YOU WANT HERE
case
1234:
{
if (Control == 0)
{
GC.AddSend(Packets.NPCSay("Hey. Wants you leaving here?"));
GC.AddSend(Packets.NPCLink("Yes... i wants leaving here.", 1));
GC.AddSend(Packets.NPCLink("You talk weird.", 255));
GC.AddSend(Packets.NPCSetFace(30));
GC.AddSend(Packets.NPCFinish());
}
else if (Control == 1)
GC.MyChar.Teleport(1002, 430, 380);
break;
}
#endregion
The code in red are the ID's that you use for the NPC which MUST be 1234 in case and npcs.txt.
Hope it helped