Any Of (Expression) — Skript

Addon: Skript · Category: Expression · Since: 2.11

Syntax

(any [one]|one) of [the] %objects%

Description

Returns an 'or list' composed of the given objects. For example, `any of (1, 2, and 3)` is equivalent to `1, 2, or 3` Useful when doing comparisons with variable lists.

Examples

if any of {_numbers::*} are 1:
if any of {teamA::*} are within location(0, 0, 0) and location(10, 10, 10):

View source