I am about 70-80% finished with programming an interface between Java applications and mIRC using loopback socket connections for bidirectional communications. I have the current design document available at mJavaIRC
Those interested in this project, please send your feedback (positive or negative) to this thread. I will be finalizing this package in a week or two, so now is the time for feedback, considering I may not release the Java package source (at least not initially). Of course, I will not be charging anything for mJavaIRC, even if it is not OpenSource.