예제 #1
0
        public override void Use(Player p, string message, CommandData data)
        {
            string[] args = message.SplitSpaces(2);
            if (args.Length < 2)
            {
                Help(p); return;
            }

            if (!Ban.ChangeBanReason(args[0], args[1]))
            {
                p.Message("That player isn't banned.");
            }
            else
            {
                p.Message("Set ban reason for &0{0} %Sto: &2{1}", args[0], args[1]);
            }
        }
예제 #2
0
        public override void Use(Player p, string message)
        {
            string[] args = message.SplitSpaces(2);
            if (args.Length < 2)
            {
                Help(p); return;
            }

            if (!Ban.ChangeBanReason(args[0], args[1]))
            {
                Player.Message(p, "That player isn't banned.");
            }
            else
            {
                Player.Message(p, "Succesfully edited baninfo about &0{0} %Sto: &2{1}", args[0], args[1]);
            }
        }