Ledger Nano X - The secure hardware wallet
SHARE
TWEET

Untitled

a guest Apr 24th, 2018 1,449 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. using System;
  2. using System.Linq;
  3. using System.Text;
  4. using System.Collections.Generic;
  5. using Plus.Communication.Packets.Outgoing.Rooms.Avatar;
  6. using Plus.HabboHotel.Rooms;
  7. using Plus.HabboHotel.Items;
  8.  
  9.  
  10. using Plus.Communication.Packets.Outgoing.Inventory.Furni;
  11. using Plus.Database.Interfaces;
  12.  
  13. namespace Plus.HabboHotel.Rooms.Chat.Commands.User
  14. {
  15.     class BrbCommand : IChatCommand
  16.     {
  17.         public string PermissionRequired
  18.         {
  19.             get { return "command_afk"; } /*Dicho parametro del permiso se agrega en la base de datos*/
  20.         }
  21.  
  22.         public string Parameters
  23.         {
  24.             get { return ""; }
  25.         }
  26.  
  27.         public string Description
  28.         {
  29.             get { return "Ponte Ausente"; }
  30.         }
  31.  
  32.         public void Execute(GameClients.GameClient Session, Rooms.Room Room, string[] Params)
  33.         {
  34.             RoomUser User = Room.GetRoomUserManager().GetRoomUserByHabbo(Session.GetHabbo().Id);
  35.             User.IsAsleep = true;
  36.             Room.SendMessage(new SleepComposer(User, true));
  37.             Session.SendWhisper("Usted se encuentra Ausente !");
  38.         }
  39.     }
  40. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top