Allows for registering an event handler that responds to inbound /scriptevent commands.
Optional
Registers a new ScriptEvent handler.
no-restricted-execution - This function can't be called in restricted-execution mode.
early-execution-allowed - This function can be called in early-execution mode.
Unsubscribes a particular handler for a ScriptEvent event.
Allows for registering an event handler that responds to inbound /scriptevent commands.