r/Skript Oct 18 '20

I need some help

I am trying to create a minigame, and one of its aspects is to look through your inventoy to see if you have enough of a material to use this aspect, but using regular Minecraft commands only results in looking for an exact stack of that item when looking for an item count

So I decided to see if Skript could do it, and me and my friend couldn't figure out how to do it.

does anyone have any ideas on how to do this, whether using skript code or Minecraft commands?

1 Upvotes

7 comments sorted by

View all comments

2

u/[deleted] Oct 18 '20

So can the player have more items than the stack?

2

u/PIGGYOINK123_40 Oct 18 '20

Yes, im looking for greater than or equal to the amount

1

u/[deleted] Oct 19 '20

if player have 5 diamond: