Better way to check the player's inventory?

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

ImKingGolden

Member
Aug 11, 2020
21
1
3
I've been trying to work out a way to search a player's inventory instead of using on loop and being able to have colour on a item, Thanks in advance.
Code:
on right click on anvil:
    cancel event
    loop all items in the player's inventory:
        if loop-item is a iron axe named "&6Hammer":
            if name of tool contains "Copper Ingot":
 
Status
Not open for further replies.