Jeez. Don't any of you read documentation on IRC (http://www.ietf.org/rfc/rfc1459.txt)
Command: USER
Parameters: <username> <hostname> <servername> :<realname>
You don't really have to give the correct perameters, most IRC servers with do a DNS lookup on you anyway.
Most people just send it like this:
USER <nickname> <nickname> <nickname> :<some text to identify their script or client>
I would send something like this:
' I'm using a VB example since you mentioned a client instead of mIRC
strNickname = "Tewl"
strEmail = "[email protected]"
strPassword = "pasword1234"
socket.SendData "AUTHTYPE ircwx1" & vbCrLf
' MD5 is my function for converting a String to a MD5hash
socket.SendData "LOGINH " & strEmail & " " MD5(strPassword) & vbCrLF
socket.SendData Replace("USER nick nick nick :vb buzzen client","nick",strNickname) & vbCrLf
DO NOT PUT YOUR PERSON INFORMATION IN THIS COMMAND! IT IS VISIBLE TO OTHER USERS.
In addition, FlashIRC is nothing more than an IRC server with a custom login system. There are a few other differences but nothing that would require a complete rewrite of a parser. As I stated in my earlier reply, they haven't finished working out all the bugs so do expect some errors.
I don't check the boards very often so if you have anymore questions or need any other help you can find me on irc.koach.com in #developers
Edited Aug 1, 2007 10:18 AM by Tewl