Created
February 27, 2015 01:29
-
-
Save alexbakker/8a04d839234438209115 to your computer and use it in GitHub Desktop.
One line IRC
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Program { static void Main(string[] args) { new System.Collections.Generic.List<System.Action>() { () => new System.Net.Sockets.TcpClient("orwell.freenode.net", 6665).GetStream().Write(System.Text.Encoding.ASCII.GetBytes("NICK testnesttest\nUSER f 8 * :f\nJOIN #dosometestingm8\nPRIVMSG #dosometestingm8 :lel\n"), 0, 84), () => System.Threading.Thread.Sleep(20000) }.ForEach((o) => o()); } } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment