Tree of List Variable (Expression) — SkCheese
Addon: SkCheese · Category: Expression · Since: 1.1
Syntax
tree of %~objects%Description
Returns all indices of a list variable. In vanilla Skript, if you set "{_var::a::b}" and loop {_var::*} nothing would be looped but this expression recursively gets all indices.
Examples
set {_var::1} to "a"
set {_var::1::3} to "c"
set {_var::2} to "b"
loop tree of {_var::*}:
send loop-branch # 1, 2, 1::3
send {_var::%loop-branch%} # "a", "b", "c"