#echest

1 messages · Page 1 of 1 (latest)

stoic dock
#
command /ec:
    trigger:
        if world of player = "mainblisssmp" or "blisssmp":
            open player's ender chest to player
        if world of player = "dupe":
            set {_} to chest inventory with 6 rows with name "&eVAULT"
            set {_u} to player's uuid
            loop 54 times:
                set slot loop-number -1 of {_} to {dupe::%{_u}%::slot::%loop-number%}
            open {_} to player

on inventory close:
    if name of event-inventory is "&eVAULT":
        set {_u} to player's uuid
        loop 54 times:
            set {dupe::%{_u}%::slot::%loop-number%} to slot loop-number -1 of event-inventory
``` this will just copy player's inv fr how fix?
night basalt
#

I would recommend checking out shane's backpack/inventory serialiser snippet

#

and the slash command is gone, give me a minute