how to disable remove item from chest?

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the community!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.

ECSE

Member
May 27, 2021
11
0
1
i want disable remove item event from chest named "test".
i made simmilar features but it disable all click event. i want only disable when player remove item from chest.

can it possilbe?



command /던전상자:
trigger:
make player execute command "/ec open"
set {_title} to "test"
set {Open.GUI::%player%} to {_title}

on inventory click:
if {Open.GUI::%player%} is "test":
cancel event
close player's inventory
send "&c ! &f야생, 마인팜서버에서는 아이템 빼기만 가능합니다." to player

on inventory close:
if {Open.GUI::%player%} contains "&c던전 상자 &7(&f아이템 빼기만 가능&7)":
clear {Open.GUI::%player%}
 
Status
Not open for further replies.