From cbf492109ccda213971c09d1048e9d26d09d9b37 Mon Sep 17 00:00:00 2001 From: gareth Date: Tue, 8 May 2007 09:56:20 +0000 Subject: Fixed nant build files Added ExportBot code (ZOMG! IMPORTED THE EXPORT BOT!) Fixed ExportBot's build --- ExportBot/ClientManager.cs | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'ExportBot/ClientManager.cs') diff --git a/ExportBot/ClientManager.cs b/ExportBot/ClientManager.cs index 0e43142..65c01ee 100644 --- a/ExportBot/ClientManager.cs +++ b/ExportBot/ClientManager.cs @@ -70,6 +70,18 @@ namespace libsecondlife.TestClient Login(account); } } + + public string ExportAvatarRestMethod( string request, string path, string param ) + { + Console.WriteLine("Got a request to export an avatar!"); + Console.WriteLine("Executing cloneprofile " + param); + DoCommandAll("cloneprofile " + param, null, null); + DoCommandAll("say copied avatar, preparing to upload to remote server...", null, null); + return "OK"; + + } + + /// /// /// -- cgit v1.1