Value Within (Expression) — Skript
Addon: Skript · Category: Expression · Since: 2.7
Syntax
[the] (%-*classinfo%|value[s]) (within|in) %~objects%Description
Gets the value within objects. Usually used with variables to get the value they store rather than the variable itself, or with lists to get the values of a type.
Examples
set {_entity} to a random entity out of all entities
delete entity within {_entity} # This deletes the entity itself and not the value stored in the variable
set {_list::*} to "something", 10, "test" and a zombie
broadcast the strings within {_list::*} # "something", "test"