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.

inventory item

Discussion in 'Skript' started by zide, Sep 24, 2017.

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

    zide Member

    Joined:
    Aug 23, 2017
    Messages:
    42
    Likes Received:
    1
    How can i get the name of item in slot 1?
     
  2. HackerOTVW

    HackerOTVW Active Member

    Joined:
    Sep 10, 2017
    Messages:
    91
    Likes Received:
    2
    I think you can refer to here
     
  3. glowgrew

    glowgrew Active Member

    Joined:
    Jan 26, 2017
    Messages:
    99
    Likes Received:
    7
    Code (Skript):
    1. set {_name} to name of item in slot 1 of player's inventory
    Not tested yet.
     
  4. zide

    zide Member

    Joined:
    Aug 23, 2017
    Messages:
    42
    Likes Received:
    1
    Do not work.
    --- Double Post Merged, Sep 24, 2017, Original Post Date: Sep 24, 2017 ---
    Thanks very much!
    name of slot 0 of player
    it works!
     
    • Like Like x 1
  5. ChisleLP

    ChisleLP Well-Known Member

    Joined:
    Jan 26, 2017
    Messages:
    789
    Likes Received:
    59
    Code (Skript):
    1. set {_n} to name of slot 1 of player's inventory

    @HackerOTVW

    Bruh. don't share it. This is very bugged, and doesn't update anymore!...


    use TuSke or Skelett/Skript
     
  6. HackerOTVW

    HackerOTVW Active Member

    Joined:
    Sep 10, 2017
    Messages:
    91
    Likes Received:
    2
    Ok, but I do not know how to name the item in slot with TuSke or Skelett :emoji_stuck_out_tongue:
     
  7. ChisleLP

    ChisleLP Well-Known Member

    Joined:
    Jan 26, 2017
    Messages:
    789
    Likes Received:
    59
    Tuske is near same as Skquery. Skelett is difference. Btw evertime same

    like

    Code (Skript):
    1. set slot 0 of player's current inventory to stone named "bla"
    2.  
    3. format gui slot 0 of player current inventory to stone named "bla" to nothing #Im not sure if this correct. i never used tuske
     
  8. HackerOTVW

    HackerOTVW Active Member

    Joined:
    Sep 10, 2017
    Messages:
    91
    Likes Received:
    2
    I will test, thanks for letting me know :emoji_slight_smile:
     
Thread Status:
Not open for further replies.

Share This Page

Loading...