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.

Need help to send message when items are dropped

Discussion in 'Skript' started by JustAChillDude, Apr 7, 2019.

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

    JustAChillDude New Member

    Joined:
    Apr 5, 2019
    Messages:
    6
    Likes Received:
    0
    So I would like to send a message when an item is dropped. I have tried this but it dosen't work:
    Code (Text):
    1. on drop:
    2.     message "You cannot drop items!"
    3.     cancel event
    I just cancels the event it dosent send the message. Thanks for helping.
     
  2. Noblesuntzu

    Noblesuntzu Active Member

    Joined:
    Feb 18, 2017
    Messages:
    63
    Likes Received:
    4
    Try
    Code (Text):
    1. on drop:
    2.     message "You cannot drop items!" to event-player
    3.     cancel event
     
  3. couger44

    Supporter

    Joined:
    Feb 19, 2017
    Messages:
    714
    Likes Received:
    31
    Did you try to cancel the event before sending the message?
    Change order sometimes works things often.
     
Thread Status:
Not open for further replies.

Share This Page

Loading...