Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- rednet.open("right")
- t = turtle
- m = peripheral.wrap("left")
- function run()
- while true do
- term.clear()
- print("Rednet active! Waiting for message...")
- id, message = rednet.receive()
- sleep(0.1)
- print("GOT IT!")
- startProgram(message)
- end
- end
- function startProgram()
- if input == "clear" then
- for i = 1,16 do
- rs.setOutput("bottom", true)
- os.sleep(0.2)
- rs.setOutput("bottom", false)
- m.dropDown(6,1)
- end
- os.sleep(1)
- print ("done")
- end
- return
- end
- while true do
- run()
- end
Advertisement
Add Comment
Please, Sign In to add comment