Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- mon = peripheral.wrap("left")
- rednet.open("right")
- while true do
- local sid, msg, dis = rednet.receive()
- time = os.time()
- time = textutils.formatTime(time)
- mon.clear()
- mon.setCursorPos(1, 1)
- mon.write(time)
- mon.setCursorPos(1, 2)
- mon.write(sid..":"..msg)
- end
Add Comment
Please, Sign In to add comment