Files
abysmal-isle/Scripts/Commands/ShardTime.cs
Unstable Kitsune b918192e4e Overwrite
Complete Overwrite of the Folder with the free shard. ServUO 57.3 has been added.
2023-11-28 23:20:26 -05:00

19 lines
416 B
C#

using System;
namespace Server.Commands
{
public class ShardTime
{
public static void Initialize()
{
CommandSystem.Register( "Time", AccessLevel.Player, new CommandEventHandler( Time_OnCommand ) );
}
[Usage( "Time" )]
[Description( "Returns the server's local time." )]
private static void Time_OnCommand( CommandEventArgs e )
{
e.Mobile.SendMessage( DateTime.UtcNow.ToString() );
}
}
}