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.

On inventory click

Discussion in 'Skript' started by Mvdabxd, Jan 6, 2022.

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

    Mvdabxd Member

    Joined:
    Jan 5, 2022
    Messages:
    3
    Likes Received:
    0
    Can someone please tell me how I make a system where when the player drags 1 item to a specific slot, another item appears.

    EX: I dragged 1 stone to the slot, then another item appears on the side

    Version 1.8.8


    command /menuferreiro2:
    trigger:
    open chest with 6 row named "&7Afiados" to player
    format slot 12 of player with red stained glass pane named "&r" to run "d"
    format slot 13 of player with red stained glass pane named "&r" to run "d"
    format slot 14 of player with red stained glass pane named "&r" to run "d"
    format slot 21 of player with red stained glass pane named "&r" to run "d"
    format slot 23 of player with green stained glass pane named "&eClique aqui para mostrar os atributos compátiveis com sua ferramenta" to run "d"
    format slot 30 of player with red stained glass pane named "&r" to run "d"
    format slot 31 of player with red stained glass pane named "&r" to run "d"
    format slot 32 of player with red stained glass pane named "&r" to run "d"





    on inventory click:
    if inventory name of player's current inventory is "&7Afiados":
    clicked slot is 22:
    if item is any sword named "":
    format slot 1 of player with chest named "Afiação" to run ""
    format slot 23 of player with green stained glass pane named "" to run ""
     
Thread Status:
Not open for further replies.

Share This Page

Loading...