Whether (Expression) — Skript
Addon: Skript · Category: Expression · Since: 2.9.0
Syntax
whether <.+>Description
A shorthand for returning the result of a condition (true or false). This is functionally identical to using `true if <condition> else false`.
Examples
set {fly} to whether player can fly
broadcast "Flying: %whether player is flying%"