Advertisement
djgaven588

Rednet Logger

Dec 10th, 2017
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.44 KB | None | 0 0
  1. rednet.open("top")
  2. term.clear()
  3. term.setCursorPos(1,1)
  4. term.setTextColor(colors.blue)
  5. print("Djgaven588's Network Logger")
  6. print(" ")
  7. print("Logging Started On Day: "..os.day())
  8. print(" ")
  9. term.setTextColor(colors.white)
  10. while true do
  11. sentBy, message, protocall = rednet.receive()
  12. print("Day: "..os.day().." Time: "..os.time().." "..message)
  13. --if protocall == "Reactor" then
  14. --rednet.broadcast(message, protocall)
  15. --end
  16. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement