1. 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!

  2. LOOKING FOR A VERSION OF SKRIPT?

    You can always check out our Wiki for downloads and any other information about Skript!

Dismiss Notice
This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

If {_item} is red wool

Discussion in 'Skript' started by Expel_, May 24, 2022.

Thread Status:
Not open for further replies.
  1. Expel_

    Expel_ New Member

    Joined:
    Aug 23, 2020
    Messages:
    8
    Likes Received:
    0
    how do i check if a item is a specifik item
    right now i have

    Code (Text):
    1. if number of red wool in player's inventory is greater than or equal to 1:
    but it triggers even if its a white, green, black and so on. The same happens with flowers.

    Thanks, Expel.
     
  2. TerrorV2

    TerrorV2 Member

    Joined:
    May 29, 2022
    Messages:
    3
    Likes Received:
    0
    If you are Using Skript 2.2-dev then you need to take the ID of WOOL (35) And the ID of Red Wool (14). Then you would use
    Code (Text):
    1. if number of 35:14 in player's inventory is greater than or equal to 1:
     
Thread Status:
Not open for further replies.

Share This Page

Loading...