Default Value (Expression) — Skript

Addon: Skript · Category: Expression · Since: 2.2-dev36

Syntax

%objects% (otherwise|?) %objects%

Description

A shorthand expression for giving things a default value. If the first thing isn't set, the second thing will be returned.

Examples

broadcast {score::%player's uuid%} otherwise "%player% has no score!"

View source