2006-11-18 06:01:12 +00:00
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Text;
|
|
|
|
|
|
|
|
|
|
namespace TestBot
|
|
|
|
|
{
|
|
|
|
|
class Program
|
|
|
|
|
{
|
|
|
|
|
static void Main(string[] args)
|
|
|
|
|
{
|
2006-11-18 18:23:14 +00:00
|
|
|
if (args.Length < 3)
|
2006-11-18 06:01:12 +00:00
|
|
|
{
|
2006-11-18 18:23:14 +00:00
|
|
|
Console.WriteLine("Usage: TestBot.exe firstname lastname password [Master Name]");
|
2006-11-18 06:01:12 +00:00
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
|
2006-11-18 18:23:14 +00:00
|
|
|
string masterName = String.Empty;
|
|
|
|
|
for (int ct = 3; ct < args.Length;ct++)
|
|
|
|
|
masterName = masterName + args[ct] + " ";
|
|
|
|
|
|
|
|
|
|
TestBot bot = new TestBot(args[0], args[1], args[2], masterName.TrimEnd());
|
2006-11-18 18:02:00 +00:00
|
|
|
bot.Run();
|
2006-11-18 06:01:12 +00:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|