public TimedEvent Timer1(int timeoutDelay, Dictionary <string, object> args)
        {
            TimedEvent timedEvent = new TimedEvent(timeoutDelay);

            timedEvent.Args    = args;
            timedEvent.OnFire += CallBack;
            return(timedEvent);
        }
        public void CallBack(TimedEvent e)
        {
            e.Kill();
            Timer1(IntervalSeconds * 1000, null).Start();

            ReloadConfig();

            System.Random rnd       = new System.Random();
            int           Totalmsgs = msgs.Count();
            int           selected  = rnd.Next(0, Totalmsgs);

            if (chat)
            {
                Server.GetServer().BroadcastFrom(Name, msgs[selected]);
            }
            if (popup)
            {
                foreach (Fougerite.Player pl in Server.GetServer().Players.Where(pl => pl.IsOnline))
                {
                    pl.Notice(popupicon, msgs[selected], popupduration);
                }
            }
        }