المشاركة الأصلية كتبت بواسطة mronlinegvrix
(المشاركة 30510)
اتفضل عدل برحتك
كود PHP:
#region all queste day
// case 141198:
Case 141199:
{
dialog.avatar(67);
switch (npcrequest.optionid)
{
case 0:
{
{
dialog.text("hey there > " + client.entity.name + " < no questes for now -_-");
dialog.option("ok thanks.", 255);
// client.entity.update(_string.effect, "erlongtengfei", true);
dialog.send();
}
if (datetime.now.minute >= 00 && datetime.now.minute <= 2)
{
dialog.text("hey there " + client.entity.name + " would you like to join top warriortop pkwar?.");
dialog.option("yea teleport me please warriortop!!", 100);
dialog.option("i`ll~think~about~it.", 255);
dialog.send();
}
if (datetime.now.minute >= 6 && datetime.now.minute <= 8)
{
dialog.text("hey there " + client.entity.name + " would you like to join top archertop pkwar?.");
dialog.option("yea teleport me please archertop!!", 101);
dialog.option("i`ll~think~about~it.", 255);
dialog.send();
}
if (datetime.now.minute >= 12 && datetime.now.minute <= 14)
{
dialog.text("hey there " + client.entity.name + " would you like to join top ninjatop pkwar?.");
dialog.option("yea teleport me please ninjatop!!", 102);
dialog.option("i`ll~think~about~it.", 255);
dialog.send();
}
if (datetime.now.minute >= 18 && datetime.now.minute <= 20)
{
dialog.text("hey there " + client.entity.name + " would you like to join topmonk pk?.");
dialog.option("yea teleport me please topmonk!!", 103);
dialog.option("i`ll~think~about~it.", 255);
dialog.send();
}
if (datetime.now.minute >= 24 && datetime.now.minute <= 26)
{
dialog.text("hey there " + client.entity.name + " would you like to join toptrojan pk pkwar?.");
dialog.option("yea teleport me please toptrojan!!", 104);
dialog.option("i`ll~think~about~it.", 255);
dialog.send();
}
if (datetime.now.minute >= 30 && datetime.now.minute <= 32)
{
dialog.text("hey there " + client.entity.name + " would you like to join top lastman pkwar?.");
dialog.option("yea teleport me please lastman!!", 105);
dialog.option("i`ll~think~about~it.", 255);
dialog.send();
}
if (datetime.now.minute >= 36 && datetime.now.minute <= 38)
{
dialog.text("hey there " + client.entity.name + " would you like to join top piratlord ?.");
dialog.option("yea teleport me please piratlord!!", 106);
dialog.option("i`ll~think~about~it.", 255);
dialog.send();
}
if (datetime.now.minute >= 42 && datetime.now.minute <= 44)
{
dialog.text("hey there " + client.entity.name + " would you like to join top kungfuking pkwar?.");
dialog.option("yea teleport me please kungfuking!!", 107);
dialog.option("i`ll~think~about~it.", 255);
dialog.send();
}
if (datetime.now.minute >= 48 && datetime.now.minute <= 50)
{
dialog.text("hello " + client.entity.name + "i can let you join the cps war.");
dialog.text("start every hours at (××:48) the end (××:51) your make 5 muints singlup.");
dialog.text("if you need to join cps war a " + 20000 + " cps cps in your inventory if you killed any entity u will drop " + 15000000 + " from him also if u died u will lose " + 10000000 + " cps");
dialog.option("yea teleport me please cpswar!!", 108);
dialog.option("i`ll~think~about~it.", 255);
dialog.send();
}
if (datetime.now.minute >= 54 && datetime.now.minute <= 56)
{
dialog.text("hey there > " + client.entity.name + " < would you like to join windwalker~pk ?.");
dialog.option("yea teleport me please windwalker~pk!!", 109);
dialog.option("i`ll~think~about~it.", 255);
dialog.send();
}
break;
}
case 100:
{
if (datetime.now.minute >= 00 && datetime.now.minute <= 2)
{
random r = new random();
int nr = r.next(1, 1);
if (nr == 1) client.entity.teleport(2536, 50, 50);
client.entity.pkmode = game.enums.pkmode.team;
client.send(new data(true) { uid = client.entity.uid, id = data.changepkmode, dwparam = (uint)client.entity.pkmode });
}
else
{
dialog.text("top warriortop pk war is held during xx:00 to xx:3 you have 4 min to signup ");
dialog.option("i don't care.", 255);
dialog.send();
break;
}
break;
}
case 101:
{
if (datetime.now.minute >= 6 && datetime.now.minute <= 8)
{
client.entity.teleport(8541, 108, 122);
}
else
{
dialog.text("[ archertop pk] war is held during [xx:06] to [xx:09] in every hour");
dialog.option("i don't care.", 255);
dialog.send();
break;
}
break;
}
case 102:
{
if (datetime.now.minute >= 12 && datetime.now.minute <= 14)
{
random r = new random();
int nr = r.next(1, 1);
if (nr == 1) client.entity.teleport(2529, 57, 51);
client.entity.pkmode = game.enums.pkmode.team;
client.send(new data(true) { uid = client.entity.uid, id = data.changepkmode, dwparam = (uint)client.entity.pkmode });
}
else
{
dialog.text("top ninjatop pk war is held during xx:12 to xx:15 you have 4 min to signup ");
dialog.option("i don't care.", 255);
dialog.send();
break;
}
break;
}
case 103:
{
if (datetime.now.minute >= 18 && datetime.now.minute <= 20)
{
random r = new random();
int nr = r.next(1, 1);
if (nr == 1) client.entity.teleport(2528, 50, 50);
client.entity.pkmode = game.enums.pkmode.team;
client.send(new data(true) { uid = client.entity.uid, id = data.changepkmode, dwparam = (uint)client.entity.pkmode });
}
else
{
dialog.text("top monktop pk war is held during xx:18 to xx:21 you have 4 min to signup ");
dialog.option("i don't care.", 255);
dialog.send();
break;
}
break;
}
case 104:
{
if (datetime.now.minute >= 24 && datetime.now.minute <= 26)
{
random r = new random();
int nr = r.next(1, 1);
if (nr == 1) client.entity.teleport(2538, 50, 50);
client.entity.pkmode = game.enums.pkmode.team;
client.send(new data(true) { uid = client.entity.uid, id = data.changepkmode, dwparam = (uint)client.entity.pkmode });
}
else
{
dialog.text("top trojan pk war is held during xx:24 to xx:27 you have 4 min to signup ");
dialog.option("i don't care.", 255);
dialog.send();
break;
}
break;
}
case 105:
{
if (datetime.now.minute >= 30 && datetime.now.minute <= 32)
{
random r = new random();
int nr = r.next(1, 1);
// if (nr == 1) client.entity.teleport(2537, 50, 50);
if (nr == 1) client.entity.teleport(2222, 50, 50);
client.entity.pkmode = game.enums.pkmode.team;
client.send(new data(true) { uid = client.entity.uid, id = data.changepkmode, dwparam = (uint)client.entity.pkmode });
}
else
{
dialog.text("top taoistmoon pk war is held during xx:30 to xx:33 you have 4 min to signup ");
dialog.option("i don't care.", 255);
dialog.send();
break;
}
break;
}
case 106:
{
if (datetime.now.minute >= 36 && datetime.now.minute <= 38)
{
random r = new random();
int nr = r.next(1, 1);
if (nr == 1) client.entity.teleport(2527, 50, 50);
// if (nr == 1) client.entity.teleport(5928, 50, 50);
client.entity.pkmode = game.enums.pkmode.team;
client.send(new data(true) { uid = client.entity.uid, id = data.changepkmode, dwparam = (uint)client.entity.pkmode });
}
else
{
dialog.text("top piratlord pk war is held during xx:36 to xx:39 you have 4 min to signup ");
dialog.option("i don't care.", 255);
dialog.send();
break;
}
break;
}
case 107:
{
if (datetime.now.minute >= 42 && datetime.now.minute <= 44)
{
random r = new random();
int nr = r.next(1, 1);
if (nr == 1) client.entity.teleport(321, 50, 50);
client.entity.pkmode = game.enums.pkmode.team;
client.send(new data(true) { uid = client.entity.uid, id = data.changepkmode, dwparam = (uint)client.entity.pkmode });
}
else
{
dialog.text("top kungfuking pk war is held during xx:6 to xx:9 you have 4 min to signup ");
dialog.option("i don't care.", 255);
dialog.send();
break;
}
break;
}
case 108:
{
if (datetime.now.minute >= 48 && datetime.now.minute <= 50)
{
if (client.entity.conquerpoints >= 10000000)
{
client.entity.teleport(6565, 39, 35);
if (client.entity.myclones.count > 0)
{
var clones = client.entity.myclones.values.toarray();
for (int i = 0; i < clones.length; i++)
{
var item = clones[i];
if (item == null)
continue;
data data = new data(true);
data.uid = item.uid;
data.id = network.gamepackets.data.removeentity;
client.entity.owner.sendscreen(data);
client.entity.myclones[item.uid] = null;
}
client.entity.myclones.clear();
}
}
else
{
dialog.text("sorry your dont make " + 10000000 + " cps");
dialog.option("thanks.", 255);
dialog.avatar(116);
dialog.send();
}
break;
}
else
{
dialog.text("sorry i can let you join the event now come again later on (××:48) off (××:51).");
dialog.option("thanks.", 255);
dialog.avatar(116);
dialog.send();
break;
}
//break;
}
case 109:
{
if (datetime.now.minute >= 54 && datetime.now.minute <= 56)
{
random r = new random();
int nr = r.next(1, 1);
client.entity.teleport(9575, 50, 50);
client.entity.pkmode = game.enums.pkmode.team;
client.send(new data(true) { uid = client.entity.uid, id = data.changepkmode, dwparam = (uint)client.entity.pkmode });
}
else
{
dialog.text("hey there > " + client.entity.name + "would you like to join windwalker~pk ?.");
dialog.option("i don't care.", 255);
dialog.send();
break;
}
break;
}
}
break;
}
#endregion
|