Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- rednet.open("left")
- local controlID = 208
- function net()
- while true do
- local id, msg = rednet.receive()
- if id == controlID then
- rednet.send(controlID, os.getComputerLabel().." Restarting")
- os.reboot()
- end
- end
- end
- function checkBreeder()
- while true do
- if redstone.getInput("top") then
- rednet.send(controlID, os.getComputerLabel().." Eggs Ready")
- sleep(3000)
- os.reboot()
- break
- end
- sleep(5)
- end
- end
- parallel.waitForAll(net, checkBreeder)
Advertisement
Add Comment
Please, Sign In to add comment