MGbeenieboy

PrintOnMonitor

Jun 14th, 2014
233
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. local monitor = peripheral.wrap("top")
  2. rednet.open("left")
  3.  
  4. while true do
  5. local senderId, message, protocol = rednet.receive()
  6. if senderId == 112 then
  7. term.redirect(monitor)
  8. print("["..textutils.formatTime(os.time(), true)..message)
  9. end
  10. end
Advertisement
Add Comment
Please, Sign In to add comment