20 lines
485 B
C#
20 lines
485 B
C#
using System;
|
|
using Server;
|
|
using Server.Commands;
|
|
|
|
namespace Knives.Chat3
|
|
{
|
|
public class Mail
|
|
{
|
|
public static void Initialize()
|
|
{
|
|
CommandSystem.Register("Mail", AccessLevel.Player, new CommandEventHandler(OnMail));
|
|
CommandSystem.Register("Ma", AccessLevel.Player, new CommandEventHandler(OnMail));
|
|
}
|
|
|
|
private static void OnMail(CommandEventArgs args)
|
|
{
|
|
MailGump.SendTo(args.Mobile);
|
|
}
|
|
}
|
|
} |