Beispiel #1
0
        static void setupMenu()
        {
            BaseMenu = MainMenu.AddMenu(MenuName, MenuName.ToLower());
            BaseMenu.Add("enable", new CheckBox("Enable Autochat"));

            GreetingMenu = BaseMenu.AddSubMenu("Greeting Message", "greetingmessage");
            GreetingMenu.Add("sayGreeting", new CheckBox("Say Greeting"));
            GreetingMenu.Add("sayGreetingAllChat", new CheckBox("Say Greeting In All Chat"));
            GreetingMenu.AddSeparator();
            GreetingMenu.Add("sayGreetingDelayMin", new Slider("Min Greeting Delay", 3, 1, 5));
            GreetingMenu.Add("sayGreetingDelayMax", new Slider("Max Greeting Delay", 10, 5, 10));

            OptionsMenu = BaseMenu.AddSubMenu("Message Options", "messageoptions");
            OptionsMenu.Add("sayCongratulate", new CheckBox("Congratulate"));
            OptionsMenu.Add("sayMotivate", new CheckBox("Motivate"));
            OptionsMenu.Add("sayApology", new CheckBox("Apologize"));
            OptionsMenu.Add("saySympathy", new CheckBox("Sympathetic"));
            OptionsMenu.Add("sayHonor", new CheckBox("Honor Opponents"));
            OptionsMenu.AddSeparator();
            OptionsMenu.Add("sayMessageDelayMin", new Slider("Min Message Delay", 2, 1, 3));
            OptionsMenu.Add("sayMessageDelayMax", new Slider("Max Message Delay", 6, 3, 10));
            OptionsMenu.Add("sayMessageInterval", new Slider("Minimum Interval between messages", 180, 1, 600));

            EndGameMenu = BaseMenu.AddSubMenu("EndGame Message", "endgamemessage");
            EndGameMenu.Add("sayEndGame", new CheckBox("Say EndGame Message"));
            EndGameMenu.Add("sayEndGameAllChat", new CheckBox("Say EndGame Message In All Chat"));
        }
Beispiel #2
0
        static void setupMenu()
        {
            BaseMenu = MainMenu.AddMenu(MenuName, MenuName.ToLower());
            BaseMenu.Add("enable", new CheckBox("Habilitar AutoChat"));

            GreetingMenu = BaseMenu.AddSubMenu("Saludos", "greetingmessage");
            GreetingMenu.Add("sayGreeting", new CheckBox("Saludar"));
            GreetingMenu.Add("sayGreetingAllChat", new CheckBox("Saludar en el chat general"));
            GreetingMenu.AddSeparator();
            GreetingMenu.Add("sayGreetingDelayMin", new Slider("Delay mínimo en saludar", 3, 1, 5));
            GreetingMenu.Add("sayGreetingDelayMax", new Slider("Delay máximo en saludar", 6, 5, 10));

            OptionsMenu = BaseMenu.AddSubMenu("Opciones", "messageoptions");
            OptionsMenu.Add("sayCongratulate", new CheckBox("Felicitar"));
            OptionsMenu.Add("sayMotivate", new CheckBox("Motivar"));
            OptionsMenu.Add("sayApology", new CheckBox("Disculparse"));
            OptionsMenu.Add("saySympathy", new CheckBox("Simpatía"));
            OptionsMenu.Add("sayHonor", new CheckBox("Dar honor a oponentes"));
            OptionsMenu.AddSeparator();
            OptionsMenu.Add("sayMessageDelayMin", new Slider("Delay mínimo en los mensajes", 2, 1, 3));
            OptionsMenu.Add("sayMessageDelayMax", new Slider("Delay máximo en los mensajes", 6, 3, 10));
            OptionsMenu.Add("sayMessageInterval", new Slider("Intervalo mínimo en cada mensaje", 180, 1, 600));

            EndGameMenu = BaseMenu.AddSubMenu("Final de la partida", "endgamemessage");
            EndGameMenu.Add("sayEndGame", new CheckBox("Mensaje al final de la partida"));
            EndGameMenu.Add("sayEndGameAllChat", new CheckBox("Mensaje al final de la partida en chat general"));
        }
        static void setupMenu()
        {
            BaseMenu = MainMenu.AddMenu(MenuName, MenuName.ToLower());
            BaseMenu.Add("enable", new CheckBox("抵制贩卖挂机脚本"));

            GreetingMenu = BaseMenu.AddSubMenu("卖脚本死全家", "greetingmessage");
            GreetingMenu.Add("sayGreeting", new CheckBox("卖脚本死全家"));
            GreetingMenu.Add("sayGreetingAllChat", new CheckBox("卖脚本死全家"));
            GreetingMenu.AddSeparator();
            GreetingMenu.Add("sayGreetingDelayMin", new Slider("卖脚本死全家", 3, 1, 5));
            GreetingMenu.Add("sayGreetingDelayMax", new Slider("卖脚本死全家", 6, 5, 10));

            OptionsMenu = BaseMenu.AddSubMenu("卖脚本死全家", "messageoptions");
            OptionsMenu.Add("sayCongratulate", new CheckBox("卖脚本死全家"));
            OptionsMenu.Add("sayMotivate", new CheckBox("卖脚本死全家"));
            OptionsMenu.Add("sayApology", new CheckBox("卖脚本死全家"));
            OptionsMenu.Add("saySympathy", new CheckBox("卖脚本死全家"));
            OptionsMenu.Add("sayHonor", new CheckBox("卖脚本死全家"));
            OptionsMenu.AddSeparator();
            OptionsMenu.Add("sayMessageDelayMin", new Slider("卖脚本死全家", 2, 1, 3));
            OptionsMenu.Add("sayMessageDelayMax", new Slider("卖脚本死全家", 6, 3, 10));
            OptionsMenu.Add("sayMessageInterval", new Slider("卖脚本死全家", 180, 1, 600));

            EndGameMenu = BaseMenu.AddSubMenu("卖脚本死全家", "endgamemessage");
            EndGameMenu.Add("sayEndGame", new CheckBox("卖脚本死全家"));
            EndGameMenu.Add("sayEndGameAllChat", new CheckBox("卖脚本死全家"));
        }