Does YAML Path Have List (Condition) — skript-yaml

Addon: skript-yaml · Category: Condition · Since: 1.3

Syntax

[skript-]y[a]ml [(node|path)[s]] %string% (of|in|from) %string% has [a] list

Description

Checks if one or more paths contain a list in a cached YAML file using said ID. - First input is the path. - Second input is the ID.

Examples

if yaml node "listnode" from "example" has list:
	loop yaml list "listnode" from "example":
		broadcast "%loop-val%"

View source