Hello,

I am making a Java IRC bot and it all works fine. I connect via a socket and there is a while loop that will output whatever comes through the IRC. But, I also want to accept console input while the program is running. So far I can only find help that will wait for console input and not one that will accept it in the background. Any help would be appreciated, thanks.

don't use a while loop for that, it'll block all the code that is not within that while loop.
use a Thread instead.