Overwrite
Complete Overwrite of the Folder with the free shard. ServUO 57.3 has been added.
This commit is contained in:
21
Scripts/Commands/TimeStamp.cs
Normal file
21
Scripts/Commands/TimeStamp.cs
Normal file
@@ -0,0 +1,21 @@
|
||||
using System;
|
||||
|
||||
namespace Server.Commands
|
||||
{
|
||||
public class TimeStamp
|
||||
{
|
||||
public static void Initialize()
|
||||
{
|
||||
CommandSystem.Register("TimeStamp", AccessLevel.Player, new CommandEventHandler(CheckTime_OnCommand));
|
||||
}
|
||||
|
||||
[Usage("TimeStamp")]
|
||||
[Description("Check's Your Servers Current Date And Time")]
|
||||
public static void CheckTime_OnCommand(CommandEventArgs e)
|
||||
{
|
||||
Mobile m = e.Mobile;
|
||||
DateTime now = DateTime.UtcNow;
|
||||
m.SendMessage("The Current Date And Time Is " + now + "(EST)");
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user