i added a new npc in npc.txt
183 1086 16 0 1036 230 181
i found him in the server, but he hassn't a work, so i haveto code him
i found some guids in the forum like this:
PHP Code:
#region TestNPC
case 300007:
{
if (Control == 0)
{
GC.AddSend(Packets.NPCSay("Hi Would You Like To Turn Your CPs To Silvers?"));
GC.AddSend(Packets.NPCLink("Yes Please!", 1));
GC.AddSend(Packets.NPCLink("No Thanks.", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
if (Control == 1)
{
if (GC.MyChar.CPs >= 1)
{
GC.MyChar.CPs -= 1;
GC.MyChar.Silvers += 1000000;
GC.AddSend(Packets.NPCSay("There Hapy Now?"));
GC.AddSend(Packets.NPCLink("Yes, Very.", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
else
{
GC.AddSend(Packets.NPCSay("Ok Maybe Next Time!"));
GC.AddSend(Packets.NPCLink("Alright alright.", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
}
break;
}
#endregion
but i don't know what to do with this, or where i put it
here is my source to know more:

please help me, and here is my email too:

please guys,i have some scripts and scripts are not a problem, i want only to know what i do with those scripte and where i put them
thank you






