Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- rednet.open("right")
- while true do
- event, id, text = os.pullEvent()
- if event == "rednet_message" then
- print(text)
- if text=="opeen" then
- redstone.setOutput("back", true)
- sleep(3)
- redstone.setOutput("back", false)
- else
- os.reboot()
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment