Value (Expression) — Skript
Addon: Skript · Category: Expression · Since: 2.10
Syntax
[the] [%-*classinfo%] value of %objects%Description
Returns the value of something that has a value, e.g. a node in a config. The value is automatically converted to the specified type (e.g. text, number) where possible.
Examples
set {_node} to node "update check interval" in the skript config
broadcast text value of {_node}
# text value of {_node} = "12 hours" (text)
wait for {_node}'s timespan value
# timespan value of {_node} = 12 hours (duration)