Skip to content

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

SettingTypeRequiredDefaultDescription
What do you want to check?SelectYesCheck type: A specific subcommand, Amount of subcommands, or If any subcommands were typed.
Which subcommand?NumberYes (if word)1Which word after the command to check (1 = first).
ComparisonSelectYes (if word/count)EqualsOperator: =, ≠, >, <, ≥, ≤.
Compare toStringYes (if word/count)Value to compare against.
Case SensitiveBooleanNo (if word)falseWhether 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

Oasis Admin Editor Documentation