Returns whether the widget supports a script handler
Signature:
hasScript
=
ScriptObject:HasScript("scriptType")
Arguments:
scriptType
- A script type; see scripts reference for details (string
)
Returns:
hasScript
-1
if the widget can handle the script, otherwisenil
(1nil
)