static void Main(string[] args) { //Console.Write("Server (default irc.freenode.net): "); //string IrcServer = Console.ReadLine(); //Console.Write("Port (default 6667): "); //int IrcPort = Convert.ToInt32(Console.ReadLine()); //Console.Write("Bot Username (default FFABot): "); //string IrcUser = Console.ReadLine(); //Console.Write("Bot Password (default ForTronUse): "); //string IrcBotPw = Console.ReadLine(); Console.Write("Superior Administrator (IRC Nick): "); string SuperiorAdmin = Console.ReadLine(); //Console.Write("Chan (default ##banana): "); //string IrcChan = Console.ReadLine(); //string SuperiorAdmin = "Josh^"; string IrcServer = "irc.freenode.net"; int IrcPort = 6667; string IrcUser = "******"; string IrcChan = "#armagetron.tourneys"; Console.WriteLine("The bot will join {0} as {1}.", IrcChan, IrcUser); System.Threading.Thread.Sleep(2500); cIRC IrcApp = new cIRC(IrcServer, IrcPort, IrcUser, IrcChan, SuperiorAdmin); }
static void Main(string[] args) { Console.Write("Server: "); string IrcServer = Console.ReadLine(); Console.Write("Port: "); int IrcPort = Convert.ToInt32(Console.ReadLine()); Console.Write("User: "******"Chan: "); string IrcChan = Console.ReadLine(); cIRC IrcApp = new cIRC(IrcServer, IrcPort, IrcUser, IrcChan); }
static void Main(string[] args) { Console.Write("Server: "); string IrcServer = Console.ReadLine(); Console.Write("Port: "); int IrcPort = Convert.ToInt32(Console.ReadLine()); Console.Write("User: "******"Pass: "******"Chan: "); string IrcChan = Console.ReadLine(); cIRC IrcApp = new cIRC(IrcServer, IrcPort, IrcUser, IrcChan, IrcPass); } /* Main */
static void Main(string[] args) { cIRC IrcApp = new cIRC(); }