Commands · Check
Command exists
Whether a command by that name or alias exists on this server: one of your flows' commands or a common built-in one.
m.cmd.exists
In a flow
“When a player joins → If Command exists shop → Send a chat message: Try /shop.”
When a player joins → If Command exists shop → Send a chat message: Try /shop.
What it does
Whether a command by that name or alias exists on this server: one of your flows' commands or a common built-in one. It's a check: put it in an If, and the flow goes one way when it's true and the other when it isn't. Find it under Commands in the palette.
When to use it
Use it when the flow needs to: whether a command by that name or alias exists on this server: one of your flows' commands or a common built-in one.
When not to
To pick between more than two outcomes, Switch or Random reads better than a chain of checks.
Typical wiring
Sockets: settings you can wire
- Command Text
-
The command's name, with or without the slash, like spawn.
What goes there: Type it in the side panel, or wire in text. e.g. Hello there
If it's empty: Optional. Left empty and unwired, it uses spawn.
Connects fromA member's variablesAccept applicationAdd a Notion pageAdd a Trello cardAdd an emojiAdd to number in objectAdd up timesAdd working daysand 845 more