Files
libremetaverse/Programs/examples/TestClient/Commands/System/AtCommand.cs
Latif Khalifa 4d44dbe8e5 LIBOMV-643: Missing help for '@' command added
Group invite without a group role was not possible (now allows default role to be assigned if none is specified).



git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3029 52acb1d6-8a22-11de-b505-999d5b087335
2009-07-25 20:13:28 +00:00

25 lines
749 B
C#

using System;
using System.Collections.Generic;
using System.Reflection;
using OpenMetaverse;
using OpenMetaverse.Packets;
namespace OpenMetaverse.TestClient
{
public class AtCommand : Command
{
public AtCommand(TestClient testClient)
{
Name = "@";
Description = "Restrict the following commands to one or all avatars. Usage: @ [firstname lastname]";
Category = CommandCategory.TestClient;
}
public override string Execute(string[] args, UUID fromAgentID)
{
// This is a dummy command. Calls to it should be intercepted and handled specially
return "This command should not be executed directly";
}
}
}