Value of Subnode (Expression) — Skript

Addon: Skript · Category: Expression · Since: 2.10

Syntax

[the] %*classinfo% value [at] %string% (from|in) %node%

Description

Returns the value of an sub-node of the given node, following the provided path. The value is automatically converted to the specified type (e.g. text, number) where possible.

Examples

set {_node} to node "language" in the skript config
broadcast the text value of {_node}

View source