Solved How do I get items in a chest?

  • 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!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.

jackYodil

Member
Jan 28, 2017
28
5
0
32
**Skript Version:** Skript 2.2 (dev20c)
**Skript Author:** Bensku
**Minecraft Version:** 1.8

Code:
code_language.skript:
loop the items in the chest:

Please help me get items in a chest
 
what does "the chest" means, Skript isn't a mind reader, it wouldn't know which chest in the world it's, you'll have to check the inventory of the block at the exact location of that chest.
 
Didn't work
391df6552e3e76e445455d88f59b29d5.png
 
the "block at %location%" expressions returns the block at the specified location, the "event-block" already returns a block, you don't have to put the "at {_loc}" in that case.
 
Status
Not open for further replies.