Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- rednet.open("top")
- while true do
- id, cmd = rednet.receive()
- if cmd == "on" then
- redstone.setOutput("back", true)
- elseif cmd == "off" then
- redstone.setOutput("back", false)
- end
- sleep(0.75)
- end
Advertisement
Add Comment
Please, Sign In to add comment