Here's the Code:
chest = peripheral.wrap("right")
password = chest.getStackInSlot(1)
print("Bitte Item einlegen")if password.raw_name == "tile.extrautils:chandelier" then
print("Passwort richtig")
rs.setOutput("top",true)
sleep(7)
rs.setOutput("top",false)
else
print("Passwort falsch")
end
os.reboot()
Sry for my bad english












