As part of our "we aim to please" commitment, have added the ability to create a user in one command line: "create user firstname secondname passwrd regionX regionY". This allows the use of the "command-script" feature. So to add a bunch of new accounts, just create a text file, and add a line as above for each account. Then in the opensim console, type: "command-script filename".

This commit is contained in:
MW
2007-08-28 18:09:36 +00:00
parent 2b3b1faf6d
commit 31b895681a
2 changed files with 25 additions and 12 deletions

View File

@@ -52,7 +52,7 @@ using OpenSim.Framework.Utilities;
namespace OpenSim
{
public delegate void ConsoleCommand(string comParams);
public delegate void ConsoleCommand(string[] comParams);
public class OpenSimMain : RegionApplicationBase, conscmd_callback
{
@@ -455,7 +455,7 @@ namespace OpenSim
case "create":
if (CreateAccount != null)
{
CreateAccount(cmdparams[0]);
CreateAccount(cmdparams);
}
break;