Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- rednet.open("right")
- local mon
- mon = peripheral.wrap("left")
- mon.clear()
- function startW()
- mon.setCursorPos(5,3)
- mon.setTextScale(1)
- mon.write("Johnson Space Center")
- end
- startW()
- while true do
- event, id, text = os.pullEvent()
- if event == "rednet_message" then
- if id == 24 then
- mon.clear()
- if text == "rst" then
- startW()
- else
- mon.setCursorPos(1,1)
- mon.setTextScale(5)
- mon.write(text)
- end
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment