private static void GuildProps_OnCommand( CommandEventArgs e )
{
string arg = e.ArgString.Trim();
Mobile from = e.Mobile;
if( arg.Length == 0 )
{
e.Mobile.Target = new GuildPropsTarget();
}
else
{
Guild g = null;
int id;
if( int.TryParse( arg, out id ) )
g = Guild.Find( id ) as Guild;
if( g == null )
{
g = Guild.FindByAbbrev( arg ) as Guild;
if( g == null )
g = Guild.FindByName( arg ) as Guild;
}
if ( g != null )
{
from.SendGump( new PropertiesGump( from, g ) );
}
}
}