#How can i make a /invsee with skript

1 messages · Page 1 of 1 (latest)

cerulean iris
#

open arg-1’s inventory to player

#

On inventory click
If event-inventory is not player’s inventory (see if this works, may be other ways around it)
Cancel event.

strange sable
#

kk ty

cerulean iris
strange sable
#

btw

#

only like command /invsee: trigger open arg-1’s inventory to player

cerulean iris
strange sable
#

oh yea

cerulean iris
#

command /invsee [<player>]:
trigger:
If arg-1 is set:
If player is op:
open arg-1s inventory to player

#

If you want it so they can’t take anything

#

on inventory click:
if event-inventory is not players inventory:
if player is not op:
cancel event

barren tide
#
  1. dont spoon feed full code
  2. event-inventory is not players inventory
  • a) is missing an apostrphe
  • b) will stop interation with crafting table inventories, chest inventories, etc