Hi reader, I created this script but the variable block does not work! The versione of server is: 1.17.1
[doublepost=1637201624,1637201500][/doublepost]I'm sorry for my english!
Code:
on script load:
load yaml "plugins/Skript/scripts/Block/block.yml" as "config"
command /setb:
trigger:
loop yaml node keys "blocks" from "config":
set {_btype} to skript-yaml value "blocks.%loop-node%.type" of "config"
set {_posX} to skript-yaml value "blocks.%loop-node%.pos.x" of "config"
set {_posY} to skript-yaml value "blocks.%loop-node%.pos.y" of "config"
set {_posZ} to skript-yaml value "blocks.%loop-node%.pos.z" of "config"
set block at location at {_posX} , {_posY} , {_posZ} in world "world" to {_btype}
send "%{_btype}% %{_posX}% %{_posY}% %{_posZ}%" to executor