Files

24 lines
729 B
C#
Raw Permalink Normal View History

2026-06-19 00:00:16 -04:00
using System;
namespace Server.Commands.Generic
{
public class SelfCommandImplementor : BaseCommandImplementor
{
public SelfCommandImplementor()
{
this.Accessors = new string[] { "Self" };
this.SupportRequirement = CommandSupport.Self;
this.AccessLevel = AccessLevel.Counselor;
this.Usage = "Self <command>";
this.Description = "Invokes the command on the commanding player.";
}
public override void Compile(Mobile from, BaseCommand command, ref string[] args, ref object obj)
{
if (command.ObjectTypes == ObjectTypes.Items)
return; // sanity check
obj = from;
}
}
}