Ok so what this npc does is checks to see if the person who is trying to talk to the npc is the guild leader and if that guild leader won guild war and if it isnt the guild leader of the winning guild then it does not say anything at all
Here it is
#Edit this is for the 5165 source
Here it is
Code:
#region Gw Winner npc
case 6701:
{
if (Control == 0)
{
if (GC.MyChar.MyGuild == Features.GuildWars.LastWinner && (GC.MyChar.GuildRank == NewestCOServer.Features.GuildRank.GuildLeader))
{
GC.AddSend(Packets.NPCSay("Hello obviously since i am talking to you, you must be the Guild Leader of the winning Guild!"));
GC.AddSend(Packets.NPCSay("Congratulations on Winning now i am sure you are looking for your reward,Well here you go"));
GC.AddSend(Packets.NPCLink("Thanks!", 255));
GC.AddSend(Packets.NPCSetFace(30));
GC.AddSend(Packets.NPCFinish());
}
}
else if (Control == 1)
{
GC.MyChar.CPs += 3000;
GC.Message(2005, GC.MyChar.Name + "Claimed 3000cps from GuildWar");
}
}
#endregion