Appearance
Condition Check Subcommand
Checks what subcommand (argument) the player typed after the main command.
Inputs: 1 · Outputs: Match, No Match
INFO
If you want to check for multiple specific subcommands, consider using a Subcommand Switch node instead.
Settings
| Setting | Type | Required | Default | Description |
|---|---|---|---|---|
| What do you want to check? | Select | Yes | — | Check type: A specific subcommand, Amount of subcommands, or If any subcommands were typed. |
| Which subcommand? | Number | Yes (if word) | 1 | Which word after the command to check (1 = first). |
| Comparison | Select | Yes (if word/count) | Equals | Operator: =, ≠, >, <, ≥, ≤. |
| Compare to | String | Yes (if word/count) | — | Value to compare against. |
| Case Sensitive | Boolean | No (if word) | false | Whether comparison is case-sensitive. |
TIP
Which subcommand you check depends on your command structure. For example, in /teleport to spawn, to is the first subcommand and spawn is the second.
Example
For /mycommand help:
- Check:
A specific subcommand - Which subcommand:
1 - Compare to:
help
