hey im creating a chestsell skript that allow players to easy sell there loot and i dont know how to loop the items in the chest and removing them and how many items there are in the chest and what items
I have tried something here but its not working
[doublepost=1520960942,1520883759][/doublepost]bump
code_language.skript:
on sign change:
if line 1 is "[ChestSell]":
set line 1 to "&7[&6&lChestSell&7]"
set line 2 to "&6&l%player%"
message "&aYou have created a ChestSell"
on rightclick on a chest or trapped chest:
if type of loop-block is wall sign:
if line 1 of loop-block is "&7[&6&lChestSell&7]":
set {chestloc.%player%} to location of loop-block
remove 1 sign from {_tmpchest}
[doublepost=1520960942,1520883759][/doublepost]bump