Advertisement
ArsKvsh

[CC] metro clock

Aug 5th, 2019
204
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.50 KB | None | 0 0
  1. local mons = { }
  2.  
  3. mons = {peripheral.find("monitor")}
  4.  
  5. for n=1,#mons do
  6.  
  7. mons[n].setBackgroundColor(colors.black)
  8. mons[n].setTextColor(colors.orange)
  9. mons[n].setCursorPos(1,1)
  10. mons[n].setTextScale(3.5)
  11. mons[n].clear()
  12.  
  13.  
  14. --mons[n].write(textutils.formatTime(os.time(), true))
  15. mons[n].write("00:00:00")
  16.  
  17. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement