Guild War Auto Start

04/28/2010 06:07 greasontim#1
Quote:
public static void StartWar()
{
if (DateTime.Now.DayOfWeek == DayOfWeek.Wednesday)
{
if (DateTime.Now.Hour == 0 && DateTime.Now.Minute <= 05)
{
Features.GuildWars.StartWar();
}
}
}
Would that work to start Guild War and if so where do I have to put it?
If it doesn't can someone help me out to figure out where i'm messing up
04/28/2010 06:18 Arcо#2
Hope this doesn't sound rude, but how about you try it, then if it doesn't work you come back here for help. The best way to learn is through trial and error.
04/28/2010 06:20 greasontim#3
I put it in world and that didn't work
and i also put it in Features.GuildWar
04/28/2010 06:29 Arcо#4
Wait why are you calling a method inside of itself?
04/28/2010 06:33 sawickas#5
Put it in program.cs araund ivents hendeling
04/28/2010 06:34 greasontim#6
...... one sec

thanks for telling my program.cs
there is a comment right in the source telling you how to do it lol
04/28/2010 08:34 sawickas#7
Trai using buton "Serch" I realeised it lol!