Beta Private constructorReadonly idIdentifier of this ScriptEvent command message.
Optional Readonly initiatorIf this command was initiated via an NPC, returns the entity that initiated the NPC dialogue.
Readonly messageOptional additional data passed in with the script event command.
Optional Readonly sourceSource block if this command was triggered via a block (e.g., a commandblock.)
Optional Readonly sourceSource entity if this command was triggered by an entity (e.g., a NPC).
Readonly sourceReturns the type of source that fired this command.
Returns additional data about a /scriptevent command invocation.