Adium lets you run an AppleScript for events like user sign on and off. Can you access the variables such as user name from within these scripts?
For the "Speak specific text" event trigger, it does list variables such as %n for user name or %a for alias.
Any help or a point to where this could be found in the documentation would be great. I wasn't able to find anything.