Would this work?

12/10/2009 20:07 Unforgiveable#1
Code:
if (DateTime.Now.DayOfWeek == DayOfWeek.Saturday && DateTime.Now.Hour == 8)
                                    {
                                        World.GWOn = true;
                                        World.SendMsgToAll("Guildwar has started!", "SYSTEM", 2000);
                                        World.SendMsgToAll("Guildwar has started!", "SYSTEM", 2011);
                                    }
                                    if (DateTime.Now.DayOfWeek == DayOfWeek.Sunday && DateTime.Now.Hour == 23)
                                    {
                                        World.GWOn = false;
                                        World.SendMsgToAll("Guildwar has ended!", "SYSTEM", 2011);
                                        World.SendMsgToAll("Guildwar has ended!", "SYSTEM", 2000);
                                    }
Can't quite test this atm.
12/10/2009 20:12 Korvacs#2
Provided you have a timer running to check that every hour then yeah.
12/10/2009 20:17 Unforgiveable#3
Alright thanks you both!
I will look into this a little bit more and then it should work.
#Request close.
12/10/2009 21:39 Huseby#4
#Closed