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
This commit is contained in:
24
Programs/examples/TestClient/Commands/System/AtCommand.cs
Normal file
24
Programs/examples/TestClient/Commands/System/AtCommand.cs
Normal file
@@ -0,0 +1,24 @@
|
||||
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";
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user