コード例 #1
0
ファイル: cIRC.cs プロジェクト: JoshuaGranger/FFABot
        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);
        }
コード例 #2
0
ファイル: cIRC.cs プロジェクト: sxbrentxs/CSIRCBot
        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);
        }
コード例 #3
0
ファイル: cIRC.cs プロジェクト: td1994/Twitch-Wars
        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 */
コード例 #4
0
ファイル: cIRC.cs プロジェクト: sxbrentxs/CSIRCBot
 static void Main(string[] args)
 {
     cIRC IrcApp = new cIRC();
 }