Пример #1
0
        public override void Execute(CommandEventArgs e, object obj)
        {
            Mobile       from   = e.Mobile;
            PlayerMobile target = obj as PlayerMobile;

            if (target != null)
            {
                if (MySQLManager.SQLEnabled)
                {
                    AntiMacroGump.SendGumpThreaded(target);
                }
                else
                {
                    from.SendAsciiMessage("The new anti macro gump is disabled, please use OldAntiMacro/OAM.");
                }
            }
            else
            {
                from.SendAsciiMessage("This only works on players!");
            }
        }