Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Decompiled with JetBrains decompiler
- // Type: Plus.HabboHotel.Rooms.Chat.Commands.User.StartQuickPollCommand
- // Assembly: Blob, Version=2.0.3.1, Culture=neutral, PublicKeyToken=null
- // MVID: DA0DDDAE-C6AA-4830-888C-C4921CCE0A3E
- // Assembly location: C:\Users\Matheus\Downloads\fff\Blob Emulador - PacoteHP\Emulador\Blob.exe
- using Plus.HabboHotel.GameClients;
- namespace Plus.HabboHotel.Rooms.Chat.Commands.Administrator
- {
- internal class StartQuickPollCommand : IChatCommand
- {
- public string PermissionRequired
- {
- get
- {
- return "";
- }
- }
- public string Parameters
- {
- get
- {
- return "%question% [%time%]";
- }
- }
- public string Description
- {
- get
- {
- return "Começe a Pollar!";
- }
- }
- public void Execute(GameClient Session, Room Room, string[] Params)
- {
- if (!Room.CheckRights(Session, false, true))
- return;
- if (Params.Length < 2)
- {
- Session.SendWhisper("foda-se", 33);
- }
- else
- {
- string question = CommandManager.MergeParams(Params, 1);
- int duration = 100000000;
- Room.GenerateQPoll(duration, question);
- Room.QuickPoll.Start();
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement