mirror of
https://github.com/runuo/runuo
synced 2026-08-11 22:26:04 -04:00
29 lines
804 B
C#
29 lines
804 B
C#
|
|
using System;
|
||
|
|
using Server;
|
||
|
|
|
||
|
|
namespace Server.Commands.Generic
|
||
|
|
{
|
||
|
|
public class ScreenCommandImplementor : BaseCommandImplementor
|
||
|
|
{
|
||
|
|
public ScreenCommandImplementor()
|
||
|
|
{
|
||
|
|
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.";
|
||
|
|
}
|
||
|
|
|
||
|
|
public override void Process( Mobile from, BaseCommand command, string[] args )
|
||
|
|
{
|
||
|
|
RangeCommandImplementor impl = RangeCommandImplementor.Instance;
|
||
|
|
|
||
|
|
if ( impl == null )
|
||
|
|
return;
|
||
|
|
|
||
|
|
impl.Process( 18, from, command, args );
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|