Even vague answers are helpful to me right now!
As for the foreach, that makes a lot of sense. I didn’t think of it that way, now I have a bit more to work off, of there.
I’ll try to do a try/catch around that section at start up, maybe google will have some ideas should I find something.
Edit:
I actually forgot I created that IRC bit (it’s early for me LOL) readMessage is NOT able to return a null value.
This is how I wrote that…
public string readMessage()
{
string message = ""; //failsafe, so we don't return nothing.
message = inputStream.ReadLine();
return message;
}
I put in a failsafe specifically to avoid getting a null value.
then I access inputStream.ReadLine() which actually gets the message from chat.