Script variables in Custom Script

Script variables in Custom Script

I have created a custom script for the script monitoring feature in OpManager 11100 .
In this script I have a variable which is set. I was under the impression that we could enter this variable in the message field so that the email alert will show the variables contents. This does not work.

Is there a way to have script gathered data in the alert email?

                New to ADSelfService Plus?