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.

Cant move anything in virtual inventory

Discussion in 'Skript' started by newgoldendoge, Feb 1, 2021.

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

    newgoldendoge Member

    Joined:
    Feb 1, 2021
    Messages:
    2
    Likes Received:
    0
    on inventory close:
    if event-inventory's name is "&aTest Chest":
    set {slot1} to slot 1 of event-inventory

    on inventory open:
    wait 1 tick
    if event-inventory's name is "&aTest Chest":
    open virtual chest with size 1 named "&aTest Chest" to player
    set slot 1 of event-inventory to {slot1}

    Why cant i move anything in the inventory? Im trying to make a custom sized chest that will also work with hoppers.
     
  2. FireRoz

    FireRoz Active Member

    Joined:
    May 28, 2020
    Messages:
    134
    Likes Received:
    6
    first of all, I can't understand anything of your code so use this.

    Also, give me the full code please.[​IMG]
     
  3. Marc

    Marc Active Member

    Joined:
    Nov 27, 2020
    Messages:
    94
    Likes Received:
    0
    Code (Text):
    1. open virtual inventory with 3 rows named "Name" to player
    2.     format gui slot 0 of player with diamond named "Diamond" to do nothing
    The "To do nothing" part is essential im pretty sure. Havent used TuSKe in awhile, I suggest you please learn TuSKe More and skript in general
     
Thread Status:
Not open for further replies.

Share This Page

Loading...