Beta
Allows for registering an event handler that responds to inbound /scriptevent commands.
Protected
Optional
Registers a new ScriptEvent handler.
Unsubscribes a particular handler for a ScriptEvent event.
This function can throw errors.
Allows for registering an event handler that responds to inbound /scriptevent commands.