how can i add this code in chat.cs
and ineed guide to learn me how can iadd demon box quest?Quote:
if (Cmd[0] == "/htnpc")
{
Game.World.htnpcwait = true;
Game.World.SendMsgToAll("SYSTEM", "Hit the NPC starting in 2 minutes! See Boxer near LoveStone in Twincity to join", 2011, 0);
Game.World.SendMsgToAll("SYSTEM", "Hit the NPC starting in 2 minutes! See Boxer near LoveStone in Twincity to join", 2500, 0);
Console.WriteLine("Hit the NPC Activated (via Console).");
Thread.Sleep(30000);
Game.World.SendMsgToAll("SYSTEM", "Hit the NPC will start in 1 minute and 30 Seconds! See Boxer near LoveStone in Twincity to join", 2011, 0);
Game.World.SendMsgToAll("SYSTEM", "Hit the NPC will start in 1 minute and 30 Seconds! See Boxer near LoveStone in Twincity to join", 2500, 0);
Console.WriteLine("1 Minutes 30 seconds Left");
Thread.Sleep(30000);
Game.World.SendMsgToAll("SYSTEM", "Hit the NPC will start in 1 minute! See Boxer near LoveStone in Twincity to join", 2011, 0);
Game.World.SendMsgToAll("SYSTEM", "Hit the NPC will start in 1 minute! SSee Boxer near LoveStone in Twincity to join", 2500, 0);
Console.WriteLine("1 Minutes Left");
Thread.Sleep(30000);
Game.World.SendMsgToAll("SYSTEM", "Hit the NPC will start in 30 Seconds! See Boxer near LoveStone in Twincity to join", 2011, 0);
Game.World.SendMsgToAll("SYSTEM", "Hit the NPC will start in 30 Seconds! See Boxer near LoveStone in Twincity to join", 2500, 0);
Console.WriteLine("30 seconds Left");
Thread.Sleep(30000);
Game.World.SendMsgToAll("SYSTEM", "FIND AND HIT THE NPC!!!!!!!!!", 2011, 0);
Game.World.SendMsgToAll("SYSTEM", "FIND AND HIT THE NPC!!!!!!!!!", 2500, 0);
Console.WriteLine("Hit the NPC will start ");
Game.World.htnpcwait = false;
Game.World.htnpc = true;
}