Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- os.pullEvent = os.pullEventRaw
- while true do
- term.clear()
- term.setCursorPos(1,1)
- term.setTextColor(colors.green)
- term.write("Ready for Launch")
- term.setCursorPos(1,3)
- term.setTextColor(colors.white)
- term.write("Awaiting Launch Command from Main Controller...")
- rednet.open("top")
- local id, msg, dis = rednet.receive()
- if msg == "launch2000000" then
- rs.setOutput("back", true)
- sleep(6)
- rs.setOutput("back", false)
- else if msg == "debug" then
- error()
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement