Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- p=peripheral.wrap("top")
- while true do
- event,arg1,player,arg3,command = os.pullEvent("glasses_chat_command")
- if string.find(command, "Schließe die Türen") or string.find(command, "schließe die Türen") then
- redstone.setOutput("right", true)
- sleep(3)
- redstone.setOutput("right", false)
- end
- if string.find(command, "Öffne die Türen") or string.find(command, "öffne die Türen") then
- redstone.setOutput("right", true)
- sleep(3)
- redstone.setOutput("right", false)
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement