diff --git a/ReallifeGamemode.Server/Commands/UserCommands.cs b/ReallifeGamemode.Server/Commands/UserCommands.cs index d339cd29..9904d013 100644 --- a/ReallifeGamemode.Server/Commands/UserCommands.cs +++ b/ReallifeGamemode.Server/Commands/UserCommands.cs @@ -11,6 +11,18 @@ namespace ReallifeGamemode.Server.Commands { class UserCommands : Script { + + [Command("dice", "~m~Benutzung: ~s~/dice")] + public void CmdUserDice(Client player) + { + if (!player.IsLoggedIn()) return; + + Random rnd = new Random(); + int number = rnd.Next(1, 7); + + ChatService.SendMessage(player, "* " + player.Name + " + würfelt eine " + number); + } + [Command("car", "~m~Benutzung: ~s~/car")] public void CmdUserCar(Client player)