the ideal solution is to engineer a way to keep track of irc dialog without having to constantly check to see if there are any new messages to read. as long as your irc channel is not too busy, a text-to-speech system provides an excellent solution. by reading out messages as they arrive, you will be able to continue working and only divert your attention to irc when absolutely necessary.
the freetts library can be downloaded from freetts.sourceforge.net. to connect to an irc server, you will need to download the pircbot java irc api from www.jibble.org/pircbot.php. 【程序编程相关:Java平台乱弹三】
this article will show you how to create a multi-platform irc bot (an automated client) that uses the freetts java speech synthesizer library to convert irc messages into audible speech. 【推荐阅读:Java平台乱弹一】
once you have downloaded both of the required libraries, create a lib directory and copy the following .jar files into it:
... 下一页