public method ScriptEvent(Script AssociatedScript)
The script associated with the event
Constructor for the ScriptEvent class.
public method<Script> Script()
Reference to script associated with the event
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.