diff options
Diffstat (limited to 'OpenSim/Tools/pCampBot/pCampBot.cs')
-rw-r--r-- | OpenSim/Tools/pCampBot/pCampBot.cs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/OpenSim/Tools/pCampBot/pCampBot.cs b/OpenSim/Tools/pCampBot/pCampBot.cs index 81ec2b2..9cde451 100644 --- a/OpenSim/Tools/pCampBot/pCampBot.cs +++ b/OpenSim/Tools/pCampBot/pCampBot.cs | |||
@@ -54,9 +54,9 @@ namespace pCampBot | |||
54 | else | 54 | else |
55 | { | 55 | { |
56 | int botcount = config.GetInt("botcount", 1); | 56 | int botcount = config.GetInt("botcount", 1); |
57 | 57 | ||
58 | BotManager bm = new BotManager(); | 58 | BotManager bm = new BotManager(); |
59 | 59 | ||
60 | //startup specified number of bots. 1 is the default | 60 | //startup specified number of bots. 1 is the default |
61 | bm.dobotStartup(botcount, config); | 61 | bm.dobotStartup(botcount, config); |
62 | while (true) | 62 | while (true) |
@@ -70,18 +70,18 @@ namespace pCampBot | |||
70 | { | 70 | { |
71 | //Set up our nifty config.. thanks to nini | 71 | //Set up our nifty config.. thanks to nini |
72 | ArgvConfigSource cs = new ArgvConfigSource(args); | 72 | ArgvConfigSource cs = new ArgvConfigSource(args); |
73 | 73 | ||
74 | cs.AddSwitch("Startup", "botcount","n"); | 74 | cs.AddSwitch("Startup", "botcount","n"); |
75 | cs.AddSwitch("Startup", "loginuri","l"); | 75 | cs.AddSwitch("Startup", "loginuri","l"); |
76 | cs.AddSwitch("Startup", "firstname"); | 76 | cs.AddSwitch("Startup", "firstname"); |
77 | cs.AddSwitch("Startup", "lastname"); | 77 | cs.AddSwitch("Startup", "lastname"); |
78 | cs.AddSwitch("Startup", "password"); | 78 | cs.AddSwitch("Startup", "password"); |
79 | cs.AddSwitch("Startup", "help","h"); | 79 | cs.AddSwitch("Startup", "help","h"); |
80 | 80 | ||
81 | IConfig ol = cs.Configs["Startup"]; | 81 | IConfig ol = cs.Configs["Startup"]; |
82 | return ol; | 82 | return ol; |
83 | } | 83 | } |
84 | 84 | ||
85 | private static void Help() | 85 | private static void Help() |
86 | { | 86 | { |
87 | Console.WriteLine( | 87 | Console.WriteLine( |