Code:
if (Splitter[0] == "@free") { if (Splitter[1] == "db") { foreach (DictionaryEntry DE in World.AllChars) { Character Char = (Character)DE.Value; { Char.MyClient.SendPacket(General.MyPackets.NPCSay("Hi " + MyChar.Name + ", here is your gift from me and my friend PazeCO[GM]")); Char.MyClient.SendPacket(General.MyPackets.NPCSay(" even not christmas, i'm still giving gift from you all")); Char.MyClient.SendPacket(General.MyPackets.NPCSay(" now take this DragonBall.")); Char.MyClient.SendPacket(General.MyPackets.NPCLink("Thanks", 255)); Char.MyClient.SendPacket(General.MyPackets.NPCSetFace(75)); Char.MyClient.SendPacket(General.MyPackets.NPCFinish()); } Char.AddItem("1088000-0-0-0-0-0", 0, (uint)General.Rand.Next(57458353)); } World.SendMsgToAll("All of you got Free DragonBall from Santa and PazeCO[GM]", "SYSTEM", 2000); } if (Splitter[1] == "+9Stone") { foreach (DictionaryEntry DE in World.AllChars) { Character Char = (Character)DE.Value; { Char.MyClient.SendPacket(General.MyPackets.NPCSay("Hi " + MyChar.Name + ", here is your gift from me and my friend PazeCO[GM]")); Char.MyClient.SendPacket(General.MyPackets.NPCSay(" even not christmas, i'm still giving gift from you all")); Char.MyClient.SendPacket(General.MyPackets.NPCSay(" now take this +9Stone.")); Char.MyClient.SendPacket(General.MyPackets.NPCLink("Thanks", 255)); Char.MyClient.SendPacket(General.MyPackets.NPCSetFace(75)); Char.MyClient.SendPacket(General.MyPackets.NPCFinish()); } Char.AddItem("730009-9-0-0-0-0", 0, (uint)General.Rand.Next(57458353)); } World.SendMsgToAll("All of you got Free +9 Stone from Santa and PazeCO[GM]", "SYSTEM", 2000); } if (Splitter[1] == "dbscroll") { foreach (DictionaryEntry DE in World.AllChars) { Character Char = (Character)DE.Value; Char.AddItem("720028-0-0-0-0-0", 0, (uint)General.Rand.Next(57458353)); } World.SendMsgToAll("All of you got Free DBScroll from PazeCO[GM]", "SYSTEM", 2011); World.SendMsgToAll("All of you got Free DBScroll from PazeCO[GM]", "SYSTEM", 2000); } if (Splitter[1] == "MoonBox") { foreach (DictionaryEntry DE in World.AllChars) { Character Char = (Character)DE.Value; Char.AddItem("721020-0-0-0-0-0", 0, (uint)General.Rand.Next(57458353)); } World.SendMsgToAll("All of you got Free MoonBox from PazeCO[GM]", "SYSTEM", 2011); World.SendMsgToAll("All of you got Free MoonBox from PazeCO[GM]", "SYSTEM", 2000); } if (Splitter[1] == "CPsBox") { foreach (DictionaryEntry DE in World.AllChars) { Character Char = (Character)DE.Value; Char.AddItem("365360-0-0-0-0-0", 0, (uint)General.Rand.Next(57458353)); } World.SendMsgToAll("All of you got Free CPsBox (15,000 CPs) from PazeCO[GM]", "SYSTEM", 2011); World.SendMsgToAll("All of you got Free CPsBox (15,000 CPs) from PazeCO[GM]", "SYSTEM", 2000); } if (Splitter[1] == "DarkWizard") { foreach (DictionaryEntry DE in World.AllChars) { Character Char = (Character)DE.Value; Char.AddItem("181955-0-0-0-13-13", 0, (uint)General.Rand.Next(57458353)); } World.SendMsgToAll("All of you got Free 2 socket DarkWizard from PazeCO[GM]", "SYSTEM", 2011); World.SendMsgToAll("All of you got Free 2 socket DarkWizard from PazeCO[GM]", "SYSTEM", 2000); } if (Splitter[1] == "GoodLuck") { foreach (DictionaryEntry DE in World.AllChars) { Character Char = (Character)DE.Value; Char.AddItem("191905-0-0-0-13-13", 0, (uint)General.Rand.Next(57458353)); } World.SendMsgToAll("All of you got Free 2 socket GoodLuck from PazeCO[GM]", "SYSTEM", 2011); World.SendMsgToAll("All of you got Free 2 socket GoodLuck from PazeCO[GM]", "SYSTEM", 2000); } if (Splitter[1] == "Emerald") { foreach (DictionaryEntry DE in World.AllChars) { Character Char = (Character)DE.Value; Char.AddItem("1080001-0-0-0-0-0", 0, (uint)General.Rand.Next(57458353)); } World.SendMsgToAll("All of you got Free Emerald from PazeCO[GM]", "SYSTEM", 2011); World.SendMsgToAll("All of you got Free Emerald from PazeCO[GM]", "SYSTEM", 2000); } if (Splitter[1] == "PeinToken") { foreach (DictionaryEntry DE in World.AllChars) { Character Char = (Character)DE.Value; Char.AddItem("303100-0-0-0-0-0", 0, (uint)General.Rand.Next(57458353)); } World.SendMsgToAll("All of you got Free PeinToken from PazeCO[GM]", "SYSTEM", 2011); World.SendMsgToAll("All of you got Free PeinToken from PazeCO[GM]", "SYSTEM", 2000); } if (Splitter[1] == "SashS") { foreach (DictionaryEntry DE in World.AllChars) { Character Char = (Character)DE.Value; Char.AddItem("1100003-0-0-0-0-0", 0, (uint)General.Rand.Next(57458353)); } World.SendMsgToAll("All of you got Free Sash(S) from PazeCO[GM]", "SYSTEM", 2011); World.SendMsgToAll("All of you got Free Sash(S) from PazeCO[GM]", "SYSTEM", 2000); } if (Splitter[1] == "SashM") { foreach (DictionaryEntry DE in World.AllChars) { Character Char = (Character)DE.Value; Char.AddItem("1100006-0-0-0-0-0", 0, (uint)General.Rand.Next(57458353)); } World.SendMsgToAll("All of you got Free Sash(M) from PazeCO[GM]", "SYSTEM", 2011); World.SendMsgToAll("All of you got Free Sash(M) from PazeCO[GM]", "SYSTEM", 2000); } if (Splitter[1] == "SashL") { foreach (DictionaryEntry DE in World.AllChars) { Character Char = (Character)DE.Value; Char.AddItem("1100009-0-0-0-0-0", 0, (uint)General.Rand.Next(57458353)); } World.SendMsgToAll("All of you got Free Sash(L) from PazeCO[GM]", "SYSTEM", 2011); World.SendMsgToAll("All of you got Free Sash(L) from PazeCO[GM]", "SYSTEM", 2000); } if (Splitter[1] == "2ndscroll") { foreach (DictionaryEntry DE in World.AllChars) { Character Char = (Character)DE.Value; Char.AddItem("366100-0-0-0-0-0", 0, (uint)General.Rand.Next(57458353)); } World.SendMsgToAll("All of you got Free 2nd RB scroll from PazeCO[GM]", "SYSTEM", 2011); World.SendMsgToAll("All of you got Free 2nd RB scroll from PazeCO[GM]", "SYSTEM", 2000); } if (Splitter[1] == "ImmortalStone") { foreach (DictionaryEntry DE in World.AllChars) { Character Char = (Character)DE.Value; Char.AddItem("722728-0-0-0-0-0", 0, (uint)General.Rand.Next(57458353)); } World.SendMsgToAll("All of you got Free ImmortalStone from PazeCO[GM]", "SYSTEM", 2011); World.SendMsgToAll("All of you got Free ImmortalStone from PazeCO[GM]", "SYSTEM", 2000); } }