2006-11-28 07:48:43 +00:00
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using libsecondlife;
|
|
|
|
|
using libsecondlife.Packets;
|
|
|
|
|
|
|
|
|
|
namespace libsecondlife.TestClient
|
|
|
|
|
{
|
|
|
|
|
public class LogoutCommand : Command
|
|
|
|
|
{
|
|
|
|
|
public LogoutCommand()
|
|
|
|
|
{
|
|
|
|
|
Name = "logout";
|
|
|
|
|
Description = "Log this avatar out";
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public override string Execute(SecondLife Client, string[] args, LLUUID fromAgentID)
|
|
|
|
|
{
|
|
|
|
|
string name = Client.ToString();
|
2006-12-16 09:07:28 +00:00
|
|
|
TestClient.ClientManager.Logout(TestClient);
|
|
|
|
|
return "Logged " + name + " out";
|
2006-11-28 07:48:43 +00:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|