Jump to content



Recommended Posts



  world: world

command invsee <offline player>:
  permission: op
    if arg is online:
      open inventory of arg to player
    else if arg has played before:
      set {_c} to (chest inventory with 4 rows named "Inventory of %arg%")
      set {_inv::*} to (tag "Inventory" of file of "{@world}/playerdata/%uuid of arg%")
      loop {_inv::*}:
        set {_s} to (tag "Slot" of loop-value)
        delete (tag "Slot" of loop-value)
        set slot {_s} of {_c} to item from loop-value
      open {_c} to player
      send "&c%arg% &chas not played before"



Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...