How Does One Get The Text from iChat Message?

This is extremely basic, but how can I set a variable to the text sent to iChat in a message?


there are

on message sent
on message received

event handlers

sorry to bother you again… but that was not an answer to my question…