I have made a chat project and it works pretty good, but I would like to shorten the username of when someone sends a message.. I have made it so when I send a message from my project it shows "<Username> Hi" but when I recieve a message it is really long.. here is an example:
<Lanc1988> Hi.
:Randy!~Randy@RivalIRC-372F10E.charter-stl.com PRIVMSG #Rssk :Hey.
<Lanc1988> How are you?
:Randy!~Randy@RivalIRC-372F10E.charter-stl.com PRIVMSG #Rssk :Good.
That is what I see.. and I would like to have it formatted to only show their username just like how I see mine.. here is the line of code I have in the DataArrival event that I think is where it can be changed:
If anyone needs any more info about my project to help me fix this problem just ask. Thanks.
<Lanc1988> Hi.
:Randy!~Randy@RivalIRC-372F10E.charter-stl.com PRIVMSG #Rssk :Hey.
<Lanc1988> How are you?
:Randy!~Randy@RivalIRC-372F10E.charter-stl.com PRIVMSG #Rssk :Good.
That is what I see.. and I would like to have it formatted to only show their username just like how I see mine.. here is the line of code I have in the DataArrival event that I think is where it can be changed:
Visual Basic:
Txtarrive.Text = String.Concat(Txtarrive.Text, vbNewLine, NewString)
If anyone needs any more info about my project to help me fix this problem just ask. Thanks.