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

How can i remove the event item (only the event item, nothing else)

Discussion in 'Skript' started by Auswahluhr6004, Jun 11, 2017.

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

    Joined:
    Mar 1, 2017
    Messages:
    109
    Likes Received:
    1
    The title says all. Please help.

    Thanks you :emoji_slight_smile:
     
  2. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,106
    Likes Received:
    150
    The title doesn't really say it all.

    Remove the event item from what? in what event? We need context to fully help you.

    Here's a vague answer for your vague question:

    Code (Skript):
    1. remove event-item from whatever
     
    #2 ShaneBee, Jun 11, 2017
    Last edited by a moderator: Jun 11, 2017
  3. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,106
    Likes Received:
    150
    Ok. Here is the event: on place of a <stone, etc...>
     
  4. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,106
    Likes Received:
    150
    So you want to remove the block they place? If so, just cancel the event. Ex:

    Code (Skript):
    1. on place of stone:
    2.     cancel event
     
  5. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,106
    Likes Received:
    150
    No he place it. I cancel it. Then i would like to remove it from inventory (The Block has an special name)
     
  6. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,106
    Likes Received:
    150
    Code (Skript):
    1. remove event-item from player's inventory
     
Thread Status:
Not open for further replies.
Loading...