Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- IRC irc = new IRC();
- irc.Self = new IRCUser
- {
- Username = "UnkwnTech|Netduino",
- RealName = "Arron",
- EmailAddress = "arron@arronchapman.com",
- Password = "Nope"
- };
- irc.Server = new IRCServer("irc.freenode.net", 6667, true);
- irc.Server.Recieve += new IRCServer.DataRecieved(this.DataHandler);
- Thread.Sleep(750);
- irc.Connect();
- Thread.Sleep(750);
- irc.Identify();
- Thread.Sleep(750);
- irc.Join("#netduinos");
- Thread.Sleep(750);
- Debug.Print(irc.Server.Send("PRIVMSG #netduinos Hello I'm a Netduino!\n"));
- Thread.Sleep(3000);
- irc.Server.Send("PRIVMSG oz__ HI!\n");
- irc.Server.Send("PRIVMSG UnkwnTech|PC HI!\n");
- irc.Server.Send("PRIVMSG dhon_ HI!\n");
- irc.Server.Send("PRIVMSG Not-ChrisWalker HI\n");
- //irc.Dispose();
- Thread.Sleep(Timeout.Infinite);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement