Gates › Events › Chat Command Event

Chat Command Event

Event Events 0 in 3 out 2 config ⬚ 1x1

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).

No curated example for this gate yet. The shape above is accurate (from the inventory); what it does in practice should be confirmed in-game.

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

From logic_gate_inventory.simple.json @ 9660107, supplemented by gate_docs.json. Documented behavior, not independently tested.