in reply to AIM bot

You should use Net::OSCAR ...it will be just as fast to do what you're trying to do, be more flexible, and you'll probably learn something along the way.