Elementium Sign in
Contents

Starts when · Starts a flow

When a player uses a command

Starts when a player types a command (anything starting with /). The Command pin is its name, Arguments the rest.

Basic plan m.event.player_command

In a flow

“When a player uses a command, the steps wired after it run.”

When a player uses a command → If Command is spawn → Teleport them to the spawn location.

What it does

Starts when a player types a command (anything starting with /). The Command pin is its name, Arguments the rest. It starts a flow, and gives the steps after it values about what happened. It gives 3 values later steps can use. Find it under Starts when in the palette.

When to use it

Use it to start a flow when a player uses a command.

When not to

If the flow should start from a click or a command instead, pick that trigger: a flow has exactly one.

Typical wiring

Values it gives

Player Player

The player it's about. Wire it into any Player pin. e.g. Alex

If it's empty: Empty when the step didn't make one (it stopped early or was skipped); steps reading it get nothing.

Connects toAccept applicationAdd a forum tagAdd a labelAdd a Notion pageAdd a row to a Google SheetAdd a staff noteAdd a stickerAdd a Trello cardand 554 more

Command Text

The command's name, without the /. e.g. spawn

If it's empty: Empty when the step didn't make one (it stopped early or was skipped); steps reading it get nothing.

Connects toAccept applicationAdd a forum tagAdd a labelAdd a Notion pageAdd a row to a Google SheetAdd a staff noteAdd a stickerAdd a Trello cardand 578 more

Arguments Text

Everything typed after the command's name. e.g. Alex 5

If it's empty: Empty when the step didn't make one (it stopped early or was skipped); steps reading it get nothing.

Connects toAccept applicationAdd a forum tagAdd a labelAdd a Notion pageAdd a row to a Google SheetAdd a staff noteAdd a stickerAdd a Trello cardand 578 more

Often next

Related in Starts when

Wires and sockets · Data values · Plans