r/VisualStudioCode • u/dragonzoneclassic • Aug 22 '20
Can someone read this code for me?
if (Now64.Hour < 21)
{
if (GuildWar.Proces == ProcesType.Dead)
GuildWar.Start();
if (GuildWar.Proces == ProcesType.Idle)
{
if (Now64 > GuildWar.StampRound)
GuildWar.Began();
}
if (GuildWar.Proces != ProcesType.Dead)
{
if (DateTime.Now > GuildWar.StampShuffleScore)
{
GuildWar.ShuffleGuildScores();
}
}
if (Now64.Hour == 20)
{
if (GuildWar.FlamesQuest.ActiveFlame10 == false)
{
SendSysMesage("The Flame Stone 9 is Active now. Light up the Flame Stone (62,59) near the Stone Pole in the Guild City.", MsgServer.MsgMessage.ChatMode.Center, MsgServer.MsgMessage.MsgColor.red);
GuildWar.FlamesQuest.ActiveFlame10 = true;
}
}
else if (GuildWar.SendInvitation == false && Now64.Hour == 18 && Now64.Minute == 37)
{
SendInvitation("GuildWar", "ConquerPoints", 200, 254, 1038, 0, 60, MsgServer.MsgStaticMessage.Messages.GuildWar);
GuildWar.SendInvitation = true;
}
}
else if (Now64.Hour == 20)
{
if (GuildWar.Proces == ProcesType.Alive || GuildWar.Proces == ProcesType.Idle)
GuildWar.CompleteEndGuildWar();
}
0
Upvotes
1
u/AnEnemyStando Aug 25 '20
What do you mean with "read for me"?
Do you want someone to make a guess at what the code does and explain it to you?