2007-01-30 20:07:18 +00:00
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using libsecondlife;
|
|
|
|
|
using libsecondlife.Packets;
|
|
|
|
|
|
|
|
|
|
namespace libsecondlife.TestClient
|
|
|
|
|
{
|
|
|
|
|
public class AppearanceCommand : Command
|
|
|
|
|
{
|
|
|
|
|
public AppearanceCommand(TestClient testClient)
|
|
|
|
|
{
|
|
|
|
|
Name = "appearance";
|
|
|
|
|
Description = "Set your current appearance to your last saved appearance";
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public override string Execute(string[] args, LLUUID fromAgentID)
|
|
|
|
|
{
|
2007-08-25 09:36:33 +00:00
|
|
|
Client.Appearance.SetPreviousAppearance(!(args.Length > 0 && args[0].Equals("nobake")));
|
2007-01-30 20:07:18 +00:00
|
|
|
return "Done.";
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|