I posted an example of how to do this Here, however my example is limited only to on text event. Somebody else also wrote a similar script to include other events and such, check out Message Extentions
"Allen is having a small problem and needs help adjusting his attitude" - Flutterby