If {_item} is red wool

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

Expel_

New Member
Aug 23, 2020
8
0
1
18
how do i check if a item is a specifik item
right now i have

Code:
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.
 
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:
if number of 35:14 in player's inventory is greater than or equal to 1:
 
Status
Not open for further replies.