Пример #1
0
        public override void Execute(Character caller, string[] args)
        {
            if (args.Length < 2)
            {
                ShowSyntax(caller);
            }
            else
            {
                switch (args[0].ToLower())
                {
                case "-map":
                    caller.Map.Notify(CombineArgs(args, 1));
                    break;

                case "-world":
                    ChannelData.Notify(CombineArgs(args, 1));
                    break;

                default:
                    ShowSyntax(caller);
                    break;
                }
            }
        }