Sets (Expression) — Skript

Addon: Skript · Category: Expression · Since: 1.0 pre-5, 2.7 (classinfo)

Syntax

[all [[of] the]|the|every] %*classinfo%

Description

Returns a list of all the values of a type. Useful for looping.

Examples

loop all attribute types:
	set loop-value attribute of player to 10
	message "Set attribute %loop-value% to 10!"

View source