Back when I had time on my hands I wrote a chat program. I used the IRC's to connect. The program still works. If you understand the IRC you can download the program here