Get item and item amount of loop-item and compare it

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

Tobstr_

Member
Jun 11, 2019
1
0
1
Category: inventory's, loop-item, list variables

Suggested name: i need loop-item's name and loop-item's amount as clear text

Spigot/Skript Version: Spigot 1.14.2 - Newest version of Skript (Bensku's Fork)

What I want:
I need loop-item's name in a clear text and loop-amount as a number to compare it with a variable with something like "stone" in it.
And i need to know the number to check if the chest has enough item's in it(for a shop).

Can somebody help?

Thanks in advance
Tobstr

(And i tried loop-item's amount or loop-item's name and some other's already, see screenshot below)
I don't know if this is the right forum for that, sorry for that, and even sorry for my bad english, i hope you understand me.

Ideas for commands: need no comands

Ideas for permissions: need no permissions

When I'd like it by: uhm idk
 

Attachments

  • ssss.PNG
    ssss.PNG
    26.1 KB · Views: 312