Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- rednet.open("left")
- local id = 1816
- rs.setOutput("bottom",false)
- while true do
- i,mess,dist = rednet.receive()
- if i == id then
- print(mess)
- if mess == "craft" then
- rs.setOutput("back",true)
- elseif mess == "blood" then
- rs.setOutput("back",false)
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement