Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- rednet.open("left")
- while true do
- id,message = rednet.receive()
- if id == 62 then
- if message == "Lava" then
- turtle.select(1)
- turtle.drop(1)
- sleep(3)
- redstone.setOutput("top",true)
- sleep(1)
- redstone.setOutput("top",false)
- end
- if message == "Creosote" then
- turtle.select(2)
- turtle.drop(1)
- sleep(3)
- redstone.setOutput("top",true)
- sleep(1)
- redstone.setOutput("top",false)
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement