2013-10-28 07:09:42 +00:00
|
|
|
namespace Server.Commands.Generic
|
|
|
|
|
{
|
|
|
|
|
public class ScreenCommandImplementor : BaseCommandImplementor
|
|
|
|
|
{
|
|
|
|
|
public ScreenCommandImplementor()
|
|
|
|
|
{
|
2020-04-16 21:29:55 -04:00
|
|
|
Accessors = new string[] { "Screen" };
|
|
|
|
|
SupportRequirement = CommandSupport.Area;
|
|
|
|
|
SupportsConditionals = true;
|
|
|
|
|
AccessLevel = AccessLevel.GameMaster;
|
|
|
|
|
Usage = "Screen <command> [condition]";
|
|
|
|
|
Description = "Invokes the command on all appropriate objects in your screen. Optional condition arguments can further restrict the set of objects.";
|
2013-10-28 07:09:42 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public override void Process(Mobile from, BaseCommand command, string[] args)
|
|
|
|
|
{
|
|
|
|
|
RangeCommandImplementor impl = RangeCommandImplementor.Instance;
|
|
|
|
|
|
|
|
|
|
if (impl == null)
|
|
|
|
|
return;
|
|
|
|
|
|
|
|
|
|
impl.Process(18, from, command, args);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|