Ternary (Expression) — Skript
Addon: Skript · Category: Expression · Since: 2.2-dev36
Syntax
%objects% if <.+>[,] (otherwise|else) %objects%Description
A shorthand expression for returning something based on a condition.
Examples
set {points} to 500 if {admin::%player's uuid%} is set else 100