Ejemplo n.º 1
0
        internal static void InvokeCommand(ChatCommandHandler commandHandler, int commandID)
        {
            switch (commandID)
            {
            case 1:
            {
                commandHandler.pickall();
                break;
            }

            case 2:
            {
                commandHandler.setspeed();
                break;
            }

            case 3:
            {
                commandHandler.unload();
                break;
            }

            case 4:
            {
                commandHandler.disablediagonal();
                break;
            }

            case 5:
            {
                commandHandler.setmax();
                break;
            }

            case 6:
            {
                commandHandler.overridee();
                break;
            }

            case 7:
            {
                commandHandler.teleport();
                break;
            }

            case 8:
            {
                ChatCommandHandler.catarefresh();
                break;
            }

            case 10:
            {
                commandHandler.roomalert();
                break;
            }

            case 11:
            {
                commandHandler.coords();
                break;
            }

            case 12:
            {
                commandHandler.coins();
                break;
            }

            case 13:
            {
                commandHandler.pixels();
                break;
            }

            case 14:
            {
                commandHandler.handitem();
                break;
            }

            case 15:
            {
                commandHandler.hotelalert();
                break;
            }

            case 16:
            {
                commandHandler.freeze();
                break;
            }

            case 17:
            {
                commandHandler.buyx();
                break;
            }

            case 18:
            {
                commandHandler.enable();
                break;
            }

            case 19:
            {
                commandHandler.roommute();
                break;
            }

            case 20:
            {
                commandHandler.masscredits();
                break;
            }

            case 21:
            {
                commandHandler.globalcredits();
                break;
            }

            case 22:
            {
                commandHandler.openroom();
                break;
            }

            case 23:
            {
                commandHandler.roombadge();
                break;
            }

            case 24:
            {
                commandHandler.massbadge();
                break;
            }

            case 25:
            {
                commandHandler.language();
                break;
            }

            case 26:
            {
                commandHandler.userinfo();
                break;
            }

            case 27:
            {
                commandHandler.linkAlert();
                break;
            }

            case 28:
            {
                commandHandler.shutdown();
                break;
            }

            case 29:
            {
                commandHandler.dumpmaps();
                break;
            }

            case 30:
            {
                commandHandler.giveBadge();
                break;
            }

            case 31:
            {
                commandHandler.invisible();
                break;
            }

            case 32:
            {
                commandHandler.ban();
                break;
            }

            case 33:
            {
                commandHandler.disconnect();
                break;
            }

            case 34:
            {
                commandHandler.superban();
                break;
            }

            case 35:
            {
                commandHandler.langban();
                break;
            }

            case 36:
            {
                commandHandler.roomkick();
                break;
            }

            case 37:
            {
                commandHandler.mute();
                break;
            }

            case 38:
            {
                commandHandler.unmute();
                break;
            }

            case 39:
            {
                commandHandler.alert();
                break;
            }

            case 40:
            {
                commandHandler.kick();
                break;
            }

            case 41:
            {
                commandHandler.commands();
                break;
            }

            case 42:
            {
                commandHandler.faq();
                break;
            }

            case 43:
            {
                commandHandler.info();
                break;
            }

            case 44:
            {
                commandHandler.enablestatus();
                break;
            }

            case 45:
            {
                commandHandler.disablefriends();
                break;
            }

            case 46:
            {
                commandHandler.enablefriends();
                break;
            }

            case 47:
            {
                commandHandler.disabletrade();
                break;
            }

            case 48:
            {
                commandHandler.enabletrade();
                break;
            }

            case 49:
            {
                commandHandler.mordi();
                break;
            }

            case 50:
            {
                commandHandler.wheresmypet();
                break;
            }

            case 51:
            {
                commandHandler.powerlevels();
                break;
            }

            case 52:
            {
                commandHandler.forcerot();
                break;
            }

            case 53:
            {
                commandHandler.seteffect();
                break;
            }

            case 54:
            {
                commandHandler.empty();
                break;
            }

            case 55:
            {
                commandHandler.whosonline();
                break;
            }

            case 56:
            {
                commandHandler.stalk();
                break;
            }

            case 57:
            {
                // RegisterIRC was here :(
                break;
            }

            case 58:
            {
                commandHandler.unbanUser();
                break;
            }

            case 59:
            {
                commandHandler.giveCrystals();
                break;
            }

            case 60:
            {
                commandHandler.warp();
                break;
            }

            case 61:
            {
                commandHandler.deleteMission();
                break;
            }

            case 62:
            {
                break;
            }

            case 63:
            {
                commandHandler.come();
                break;
            }

            case 64:
            {
                commandHandler.moonwalk();
                break;
            }

            case 65:
            {
                commandHandler.push();
                break;
            }

            case 66:
            {
                commandHandler.pull();
                break;
            }

            case 67:
            {
                commandHandler.copylook();
                break;
            }

            case 68:
            {
                commandHandler.Fly();
                break;
            }
            }
        }
Ejemplo n.º 2
0
        internal static void InvokeCommand(ChatCommandHandler commandHandler, int commandId)
        {
            try
            {
                switch (commandId)
                {
                case 1:
                {
                    commandHandler.pickall();
                    break;
                }

                case 2:
                {
                    commandHandler.pickpets();
                    break;
                }

                case 3:
                {
                    commandHandler.pickbots();
                    break;
                }

                case 4:
                {
                    commandHandler.ejectall();
                    break;
                }

                case 6:
                {
                    commandHandler.teleport();
                    break;
                }

                case 7:
                {
                    commandHandler.rkick();
                    break;
                }

                case 8:
                {
                    commandHandler.reload();
                    break;
                }

                case 9:
                {
                    commandHandler.setmax();
                    break;
                }

                case 10:
                {
                    commandHandler.fixroom();
                    break;
                }

                case 11:
                {
                    commandHandler.room();
                    break;
                }

                case 12:
                {
                    commandHandler.setspeed();
                    break;
                }

                case 14:
                {
                    commandHandler.mutepets();
                    break;
                }

                case 15:
                {
                    commandHandler.mutebots();
                    break;
                }

                case 16:
                {
                    commandHandler.sit();
                    break;
                }

                case 17:
                {
                    commandHandler.lay();
                    break;
                }

                case 19:
                {
                    commandHandler.dance();
                    break;
                }

                case 21:
                {
                    commandHandler.stand();
                    break;
                }

                case 22:
                {
                    commandHandler.handitem();
                    break;
                }

                case 23:
                {
                    commandHandler.enable();
                    break;
                }

                case 24:
                {
                    commandHandler.commands();
                    break;
                }

                case 25:
                {
                    commandHandler.empty();
                    break;
                }

                case 26:
                {
                    commandHandler.emptypets();
                    break;
                }

                case 27:
                {
                    commandHandler.emptybots();
                    break;
                }

                case 28:
                {
                    commandHandler.follow();
                    break;
                }

                case 29:
                {
                    commandHandler.moonwalk();
                    break;
                }

                case 30:
                {
                    commandHandler.copylook();
                    break;
                }

                case 31:
                {
                    commandHandler.convertToPet();
                    break;
                }

                case 32:
                {
                    commandHandler.ClearConsole();
                    break;
                }

                case 33:
                {
                    commandHandler.push();
                    break;
                }

                case 34:
                {
                    commandHandler.pull();
                    break;
                }

                case 35:
                {
                    commandHandler.kill();
                    break;
                }

                case 36:
                {
                    commandHandler.personal();
                    break;
                }

                case 38:
                {
                    commandHandler.userinfo();
                    break;
                }

                case 39:
                {
                    commandHandler.ban();
                    break;
                }

                case 41:
                {
                    commandHandler.superban();
                    break;
                }

                case 42:
                {
                    commandHandler.muteuser();
                    break;
                }

                case 43:
                {
                    commandHandler.unmuteuser();
                    break;
                }

                case 44:
                {
                    commandHandler.roomalert();
                    break;
                }

                case 45:
                {
                    commandHandler.roommute();
                    break;
                }

                case 46:
                {
                    commandHandler.roomkick();
                    break;
                }

                case 47:
                {
                    commandHandler.disconnect();
                    break;
                }

                case 48:
                {
                    commandHandler.come();
                    break;
                }

                case 49:
                {
                    commandHandler.staffmessages();
                    break;
                }

                case 50:
                {
                    commandHandler.openroom();
                    break;
                }

                case 51:
                {
                    commandHandler.overridee();
                    break;
                }

                case 52:
                {
                    commandHandler.Fly();
                    break;
                }

                case 53:
                {
                    commandHandler.giveBadge();
                    break;
                }

                case 54:
                {
                    commandHandler.removeBadge();
                    break;
                }

                case 55:
                {
                    commandHandler.roombadge();
                    break;
                }

                case 56:
                {
                    commandHandler.eha();
                    break;
                }

                case 57:
                {
                    commandHandler.eventha();
                    break;
                }

                case 58:
                {
                    commandHandler.staffDiamonds();
                    break;
                }

                case 59:
                {
                    commandHandler.hotelalert();
                    break;
                }

                case 60:
                {
                    commandHandler.pha();
                    break;
                }

                case 61:
                {
                    commandHandler.visa();
                    break;
                }

                case 62:
                {
                    commandHandler.giveDiamonds();
                    break;
                }

                case 63:
                {
                    commandHandler.roomDiamonds();
                    break;
                }

                case 64:
                {
                    commandHandler.roomaction();
                    break;
                }

                case 65:
                {
                    commandHandler.massbadge();
                    break;
                }

                case 66:
                {
                    commandHandler.unban();
                    break;
                }

                case 67:
                {
                    commandHandler.staffinfo();
                    break;
                }

                case 68:
                {
                    commandHandler.linkAlert();
                    break;
                }

                case 69:
                {
                    commandHandler.QuickPoll();
                    break;
                }

                case 70:
                {
                    commandHandler.viewinventary();
                    break;
                }

                case 71:
                {
                    commandHandler.addFilter();
                    break;
                }

                case 72:
                {
                    commandHandler.say();
                    break;
                }

                case 73:
                {
                    commandHandler.massfurni();
                    break;
                }

                case 74:
                {
                    commandHandler.globalDiamonds();
                    break;
                }

                case 75:
                {
                    commandHandler.invisible();
                    break;
                }

                case 76:
                {
                    commandHandler.getStaffs();
                    break;
                }

                case 77:
                {
                    commandHandler.usersOnRooms();
                    break;
                }

                case 78:
                {
                    commandHandler.developerFurnis();
                    break;
                }

                case 79:
                {
                    commandHandler.refresh();
                    break;
                }

                case 80:
                {
                    commandHandler.info();
                    break;
                }

                case 83:
                {
                    commandHandler.notification();
                    break;
                }

                case 84:
                {
                    commandHandler.goevent();
                    break;
                }

                case 85:
                {
                    commandHandler.spyuser();
                    break;
                }

                case 86:
                {
                    commandHandler.ganhouEvento();
                    break;
                }

                case 87:
                {
                    commandHandler.explicaEvento();
                    break;
                }

                case 88:
                {
                    commandHandler.updates();
                    break;
                }

                case 89:
                {
                    commandHandler.shutdown();
                    break;
                }

                case 90:
                {
                    commandHandler.freezeuser();
                    break;
                }

                case 91:
                {
                    commandHandler.fastwalk();
                    break;
                }

                case 92:
                {
                    commandHandler.premium();
                    break;
                }

                case 93:
                {
                    commandHandler.pegaGeral();
                    break;
                }

                case 94:
                {
                    commandHandler.prisao();
                    break;
                }

                case 95:
                {
                    commandHandler.globalMoedas();
                    break;
                }

                case 96:
                {
                    commandHandler.darMoedas();
                    break;
                }

                case 97:
                {
                    commandHandler.roomMoedas();
                    break;
                }

                case 98:
                {
                    commandHandler.bundle();
                    break;
                }

                case 99:
                {
                    commandHandler.cor();
                    break;
                }

                case 100:
                {
                    commandHandler.givePiruleta();
                    break;
                }

                case 101:
                {
                    commandHandler.giveRoomPiruleta();
                    break;
                }

                case 102:
                {
                    commandHandler.tamanhoChao();
                    break;
                }
                }
            }
            catch (Exception e) { commandHandler.GetClient().SendNotif("Comando mal formado ou com erros." + e.GetBaseException()); }
        }