Check inventory of a shulker box

  • 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 comminuty!

    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.

EuSouBonito

Member
Aug 18, 2020
1
0
1
25
Hi, I've been trying to find a way to see the items inside a shulker box. I'm trying to stop the command from having an effect if it has a spawner inside. The problem is that it doesnt detect that the item I have is a shulker box (it sends "is not monster spawner or shulker"), and it doesnt send any error messages
Skript rn:

command /dupe:
aliases: /dup
trigger:
set {_item} to player's tool
{_item} isn't monster spawner:
item isn't shulker box:
send "is not monster spawner or shulker" to player
give player {_item}
else:
{_item} contains monster spawner:
send "§cThis item contains a blacklisted item. Type /blacklist to see the list of undupable items."
set {_contains} to 1
{_contains} isn't 1:
send "doesnt contain"
give player {_item}
else:
send "§cYou can't dupe this item. Type /blacklist to see the list of undupable items"

Addons installed: SkQuery, TuSKe
 
Status
Not open for further replies.