#How can i make a /invsee with skript
1 messages · Page 1 of 1 (latest)
On inventory click
If event-inventory is not player’s inventory (see if this works, may be other ways around it)
Cancel event.
kk ty
If this is resolved make sure to mark it as solved 
You’ll need to include arguments, so the game knows who’s inventory to open.
oh yea
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
- dont spoon feed full code
event-inventory is not players inventory
- a) is missing an apostrphe
- b) will stop interation with crafting table inventories, chest inventories, etc