[This is preliminary documentation and subject to change.]
Script triggers run the specified script statements on the broadcast client. They are formatted as shown following
"4 [<protocol>] script"
where
No other scripting languages are supported in the current version of Broadcast Architecture. Because the current version of the broadcast client does not recognize protocol, do not include this optional parameter in triggers you send.
When the Enhancement control receives a Script trigger, it runs the specified script as if it were embedded in the enhancement page. Using this trigger, you can greatly expand the functionality of the enhancement.
The following are examples of Script triggers that use JScript to print an alert box to the user.
"4 alert('You received an JScript trigger!')"