This is an example of my code
inv = peripheral.wrap("right")
var1 = inv.getAllStacks()
var2 = var1[1] --This should set var2 to another table
print(var2[1])
When I execute this program on an advanced computer with a diamond chest next to it, with things inside, it prints nothing at all. please help me out with this!