Ejemplo n.º 1
0
 public IrcController( )
 {
     i = new Utility.Net.Chat.IRC(
         "chat.eu.freenode.net",
         8001,
         "BOPRbot",
         "",
         "BOPRbot",
         "Stwalkerster's BOPRbot"
         );
     i.ConnectionRegistrationSucceededEvent += new Utility.Net.Chat.IRC.ConnectionRegistrationEventHandler( i_ConnectionRegistrationSucceededEvent );
     i.PrivmsgEvent += new Utility.Net.Chat.IRC.PrivmsgEventHandler( i_PrivmsgEvent );
     i.Log += new Utility.Net.Chat.IRC.LogEventHandler( i_Log );
     i.Connect( );
 }
Ejemplo n.º 2
0
 public IrcController( )
 {
     i = new Utility.Net.Chat.IRC(
         "chat.eu.freenode.net",
         8001,
         "BOPRbot",
         "",
         "BOPRbot",
         "Stwalkerster's BOPRbot"
         );
     i.ConnectionRegistrationSucceededEvent += new Utility.Net.Chat.IRC.ConnectionRegistrationEventHandler(i_ConnectionRegistrationSucceededEvent);
     i.PrivmsgEvent += new Utility.Net.Chat.IRC.PrivmsgEventHandler(i_PrivmsgEvent);
     i.Log          += new Utility.Net.Chat.IRC.LogEventHandler(i_Log);
     i.Connect( );
 }