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