
ScriptEvent
ScriptEvent Methods
| ScriptEvent() | Constructor for the ScriptEvent class |
| Script() | Returns a reference to the Script object associated with the event |
Derived Classes
See Also
Class Hierarchy, Script, Thread
public method ScriptEvent(Script AssociatedScript)
Parameters
AssociatedScript
The script associated with the event
Return Value
None
Description
Constructor for the ScriptEvent class.
ScriptEvent Class
public method<Script> Script()
Parameters
None
Return Value
Reference to script associated with the event
Description
This method returns the script reference associated with the event. Currently, this will always be the single Script object associated with the executing script. Scripts will be able to send direct TextMessage and ObjectMessage events in the future, and this method will return the script reference associated with the Script which actually sent the message.
ScriptEvent Class