Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- redstone.setOutput("back",true)
- active = false
- repeat
- if redstone.getInput("top") == true then
- print("MFSU is full, turning on mass fab for 5 minutes")
- redstone.setOutput("back",false)
- active = true
- else
- print("MFSU not full")
- os.sleep(5)
- end
- until active == true
- os.sleep(300)
- shell.run("reboot")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement