if player has item issue

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

Coollucas3068

New Member
Jan 23, 2020
9
0
0
24
Hello, so im trying to make a skript that detects if a player has multiple of a named item


Code:
on right-click on crafting_table:
    cancel event
       if player has 32 oak planks named "&5Plank":
        remove 32 of oak planks from player
        broadcast "tEST"

I have tested this and it doesnt work if i have planks named &5Plank
ive tried searching the docs

im on 1.12.2
 
thanks

i guess that was the issue ok
If you fixed the issue, please mark the post as solved by clicking on "post settings" > "edit title" > "add prefix" > "Solved" and then mark whoever helped solve your problem as best answer by clicking the "best answer" button on the bottom right of their post.
 
Status
Not open for further replies.