i have been working at this script for a while and i literally have no idea how to import saved data from /savechest to /wardrobe. if anyone knows, help would be appriciated. note: i am using skript-gui addon
Code:
command /wardrobe:
permission: op
permission message: "test"
trigger:
create a gui with virtual chest inventory with 6 rows named "pp" and shape "1xxxxxxxx", "x-x-----x","x-x-----x","x-x-----x","x-x-----x" and "xxxxxxxxx":
make gui slot "x" with black stained glass pane named "! BORDER !":
send "Hey %player%! You just clicked a border slot!" to player
make gui slot "1" with anvil named "test":
execute player command "/savechest"
open the last gui for the player
command /savechest:
trigger:
set {_slot} to 1
loop 26 times:
set {chest::%{_slot}%::%player%} to slot {_slot} of current inventory of player
add 1 to {_slot}
send "&aSaved chest" to player