Advertisement
vacanickel

Untitled

Dec 21st, 2014
141
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.56 KB | None | 0 0
  1. side = "back" --This is the side of the monitor
  2. text = "Hello Sir"
  3. text2 = "The time is "
  4. text3 = "It's 3% "
  5. text4 = "outside of"
  6. text5 = "this Building"
  7. mon = peripheral.wrap(side)
  8. mon.setTextScale(1.5)
  9. while true
  10. do
  11. mon.setCursorPos(1,1)
  12. mon.write(text)
  13. mon.setCursorPos(1,3)
  14. mon.write(text2)
  15. mon.setCursorPos(13,3)
  16. mon.write(textutils.formatTime(os.time(),false))
  17. mon.setCursorPos(1,6)
  18. mon.write(text3)
  19. mon.setCursorPos(1,7)
  20. mon.write(text4)
  21. mon.setCursorPos(1,8)
  22. mon.write(text5)
  23. sleep(1)
  24. mon.clear()
  25. term.setCursorPos(1,1)
  26. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement