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.

Solved NBT item pick up message

Discussion in 'Skript' started by Zyxed, May 19, 2021.

Tags:
Thread Status:
Not open for further replies.
  1. Zyxed

    Supporter

    Joined:
    May 17, 2021
    Messages:
    18
    Likes Received:
    0
    I'm trying to create broadcast message of item that is NBT. I installed plugin that gives me extra items, and I want to make broadcast of it when I pick it up. Can anybody help me? :emoji_slight_smile:

    Here is my code:
    Code (Text):
    1. on pick up:
    2.     item is a crossbow named "Cannon"
    3.     broadcast "&6&l%player% &fFound cannon!"
     
  2. Best Answer:
    Post #2 by Minecoll_YT, May 22, 2021
  3. Minecoll_YT

    Supporter Forums Helper

    Joined:
    Dec 2, 2018
    Messages:
    597
    Likes Received:
    37
    Code (Text):
    1. on pickup:
    2.     if name of event-item is "XX":
    3.         #do stuff
     
  4. Zyxed

    Supporter

    Joined:
    May 17, 2021
    Messages:
    18
    Likes Received:
    0
    Gotta try this tomorrow!
     
  5. Minecoll_YT

    Supporter Forums Helper

    Joined:
    Dec 2, 2018
    Messages:
    597
    Likes Received:
    37
    If it works mark this as solved
     
  6. Zyxed

    Supporter

    Joined:
    May 17, 2021
    Messages:
    18
    Likes Received:
    0
    Sure
     
Thread Status:
Not open for further replies.

Share This Page

Loading...