Item name help

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

GiorgixPRO

Member
Jul 29, 2017
44
0
0
25
code_language.skript:
on right click with quartz ore:
    if {meteorite.apertura.%player%} is false:
        if name of item of player is "&cMeteorite kit":
            remove item from the player's inventory

Can't comprare "name of item of player" with a text... How to check the item name?
 
Try: "if name of player's held item is"
[doublepost=1521143803,1521143709][/doublepost]and for the remove part you can try: "remove player's held item from inventory of the player" - this removes all of whatever the player is holding in their inventory and to remove only 1 try "remove 1 of player's held item from inventory of the player"
 
Status
Not open for further replies.