PHPTocLib is a PHP class that connects to AIM
services, similar to Perl's Net::AIM. It supports
sending and receiveing messages, and chat. It
offers complete customizability, through the use
of event-invoked functions, with messages
pre-parsed into an easy-to-use format.