I get what you are looking for...
My point is that I don't think it is a problem with the code. I think it is a problem specific to the use of AOL.
You are looking for help disecting code that only fails when an AOL user accesses it, without posting the code itself, or without telling us who initially created the code. Talk about a needle in a haystack...
I am not trying to sound facetious here... Really, I am not, and to show you what I mean, here are some directions...
Try contacting the author of the code.
Ask for clarification from your webhost about what changes they recommend.
Ask your AOL buddies to check any and all settings that could possibly be related.
Most chat scripts are fairly robust, so without bringing the author in on your problem, you could be spinning your wheels here.
And yes, I definitely have an aversion to AOL. ;-)