# event
## Syntax:
/event **{type} {command}**
## Use Case:
Defines a script to run when a specific system event occurs (e.g. onConnect, onDisconnect).
## Arguments:
- **{type}**   : The event type.
- **{command}**: The command to execute.
## Examples:
1. **/event {onConnect} {look}**
## See Also:
unevent