Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- rednet.open("right")
- --Monitor Setup:
- monitor = peripheral.wrap("top")
- monitor.setCursorPos(2,2)
- monitor.setTextScale(1.5)
- monitor.write("OFF")
- --Self-Setup:
- shell.run("clear")
- print("Farm Collection: Waiting")
- --Waiting to Work
- a,b = rednet.receive()
- if a == 4 and b == "work" then
- print("Hooray, it's time to work!")
- os.sleep(2)
- monitor.clear()
- monitor.setCursorPos(2,2)
- shell.run('auto')
- else
- os.sleep(1)
- os.reboot()
- end
Advertisement
Add Comment
Please, Sign In to add comment