Random (Expression) — Skript

Addon: Skript · Category: Expression · Since: 1.4.9

Syntax

[a] random %*classinfo% [out] of %objects%

Description

Gets a random item out of a set, e.g. a random player out of all players online.

Examples

give a diamond to a random player out of all players
give a random item out of all items to the player

View source