View difference between Paste ID: V1EwZLym and 3Gc7ULNF
SHOW: | | - or go back to the newest paste.
1
mon = peripheral.wrap("left")
2
rednet.open("right")
3
4
while true do
5
  local sid, msg, dis = rednet.receive()
6
  
7
  time = os.time()
8
  time = textutils.formatTime(time)
9
10
  mon.clear()
11
  mon.setCursorPos(1, 1)
12
  mon.write(time)
13
  mon.setCursorPos(1, 2)
14
  mon.write(sid..":"..msg)
15
end
16
17