Chat Command Event
Registers a custom slash command and pulses when a player uses it, outputting the caller and raw arguments; use it for chat-driven controls.
Diagram
Ports drawn from the source data: inputs left, outputs right, config inside.
How it's used
Structural overview — derived from this gate's ports, not
from tested behavior. Takes no wire inputs. Produces 3 outputs: Arguments (string), Exec Out (exec), Player State (entity). Configured with 2 properties (set on the gate, not wired): Command Name (struct), Help Text (struct).
Technical details — ports, config & source
Wire inputs
Wires you feed into the gate.
No wire inputs.
Wire outputs
Wires the gate produces.
| Display name | Type | Tooltip |
|---|---|---|
| Arguments | string | The raw argument string passed after the command name. |
| Exec Out (ExecOut) | exec | No tooltip in source |
| Player State (PlayerState) | entity | No tooltip in source |
Configuration properties
Set on the gate itself in its properties panel — not wired. Distinct from inputs.
| Display name | Type | Tooltip |
|---|---|---|
| Command Name (CommandName) | struct | No tooltip in source |
| Help Text (HelpText) | struct | No tooltip in source |
Source details
- Brick asset
- B_1x1_Gate_Event_ChatCommand
- Component class
- BrickComponentType_Event_ChatCommand
- Kind
- event
- Family
- ChatCommand
- Half size
- 5 × 5 × 2