Files
Cinder Roxley 6ee065573e Easy returns
2024-07-01 12:17:07 -05:00

18 lines
501 B
C#

namespace OpenMetaverse.TestClient
{
public class MD5Command : Command
{
public MD5Command(TestClient testClient)
{
Name = "md5";
Description = "Creates an MD5 hash from a given password. Usage: md5 [password]";
Category = CommandCategory.Other;
}
public override string Execute(string[] args, UUID fromAgentID)
{
return args.Length == 1 ? Utils.MD5(args[0]) : "Usage: md5 [password]";
}
}
}