[HELP] can sum1 help to make gw comman for lotf ?

07/12/2009 10:19 pajar22#1
i would like to have gw commands so that i can turn the gw on or off whenever i want to..can somebody help please..
07/12/2009 22:13 JustChillin#2
Search button down magical things. But i believe there is a command already. Ctrl+f and type "/gwon" or /gwoff". Idk if its in there but i know its been released if you look.
07/12/2009 22:21 ~*NewDuuDe*~#3
Post the code here, some of the new ones doesnt work.
Let us have a look.
07/12/2009 22:26 Arcotemple:)#4
here's the one in my source it works
Code:
                                        if (Splitter[0] == "/gwstart")
                                        {
                                            General.GW.Enabled = false;
                                            GuildWarStart.Start();

                                            World.SendMsgToAll("Guild War has now started and will last 1 hour", "SYSTEM", 2011);
                                            Console.WriteLine("Guild War Started");

                                            General.RestartTimer.Enabled = false;
                                            General.RestartMsg30sec.Enabled = false;
                                            General.RestartMsg2min.Enabled = false;
                                            General.RestartMsg1min.Enabled = false;

                                            GuildWarStop.Interval = 3600000;
                                            GuildWarStop.Elapsed += new ElapsedEventHandler(GuildWarStop_Elapsed);
                                            GuildWarStop.Start();

                                            GuildWarStop5min.Interval = 3300000;
                                            GuildWarStop5min.Elapsed += new ElapsedEventHandler(GuildWarStop5min_Elapsed);
                                            GuildWarStop5min.Start();
                                        }
and to turn it off
Code:
                                        if (Splitter[0] == "/gwstop") 
                                        {
                                            General.GW.Enabled = false;
                                            GuildWarStart.Enabled = false;
                                            GuildWarStop1min.Enabled = false;
                                            GuildWarStop.Enabled = false;
                                            GuildWarStop2min.Enabled = false;
                                            GuildWarStop30sec.Enabled = false;
                                            GuildWarStop3min.Enabled = false;
                                            GuildWarStop4min.Enabled = false;
                                            GuildWarStop5min.Enabled = false;

                                            General.RestartTimer.Enabled = true;
                                            General.RestartMsg2min.Enabled = true;

                                            World.SendMsgToAll("Guild War has ended and servers will restart", "SYSTEM", 2011);
                                            General.ServerRestart();
                                        }
07/12/2009 22:28 ~*NewDuuDe*~#5
You shouldnt use all those timers. Messes things up.
07/12/2009 23:15 danielachraf#6
i got a problem too in GW ... The pole and the doors don't die