#region guildwar if (guildwar.iswar) { if (time32.now > guildwar.scoresendstamp.addseconds(3)) { guildwar.scoresendstamp = time32.now; guildwar.sendscores(); } } if ((now64.hour >= 00 && now64.hour <= 21) && now64.dayofweek == dayofweek.sunday && now64.dayofweek == dayofweek.monday) { if (!guildwar.iswar) { guildwar.start(); foreach (client.gamestate client in kernel.gamepool.values) { if (client.map.baseid != 6001 && client.map.baseid != 6000 && !client.entity.dead) { eventalert alert = new eventalert { strresid = 10515, countdown = 60, uk12 = 1 }; client.entity.strresid = 10515; client.send(alert); } } } } if (guildwar.iswar) { if (now64.hour == 22 && now64.second <= 00) { guildwar.flame10th = false; guildwar.end(); } } #endregion
&& now64.dayofweek == dayofweek.monday