else — Blocks

else
Control Flow1.0.0

Description

The fallback branch that executes when no previous if/else if matched.

Allowed Contexts

Root LevelInside Block

Examples

on join: if player is sneaking: send player "You are sneaking!" else: send player "Nothing matched"

All Possible Usages (1)

Every distinct way you can write this pattern, with optional groups and choice groups expanded. Placeholders are shown as <name>.

else

Related (Control Flow)