|
المشاركات 1,940 |
+التقييم 0.96 |
تاريخ التسجيل Apr 2019 |
الاقامة Egypt |
نظام التشغيل windows 7 |
رقم العضوية 1 |
#region Enter Map With Password [ Very Simple Idea From [Hazem] ]
case 100082221:
{
switch (npcRequest.OptionID)
{
case 0:
{
dialog.Text("Hello "+client.Entity.Name+" I'm Xor .. I send you to PM maps ... Just enter The Password !");
dialog.Input("Password:", 1, 14);
dialog.Option("I don't know any password , boring!", 255);
dialog.Send();
break;
}
case 1:
{
string xor = "123456",
xor1 = "1234567",
xor2 = "12345678";
if ((npcRequest.Input == xor) || (npcRequest.Input == xor1) || (npcRequest.Input == xor2))
{
client.Entity.Teleport(1004, 50, 50);
dialog.Text("Nice .. Good Job !");
dialog.Option("Thanks!", 255);
}
else
{
dialog.Text("Wrong password ! ");
dialog.Option("Sorry!", 255);
}
break;
}
}
break;
}
#endregion
string xor = "123456",