Advertisement
Munchin

Clock

May 7th, 2018
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.27 KB | None | 0 0
  1. side = "back"
  2. text = "Welcome To Munch Corp"
  3. mon = peripheral.wrap(side)
  4. mon.setTextScale(2)
  5. while true
  6. do
  7.  mon.setCursorPos(1,1)
  8.  mon.write(text)
  9.  mon.setCursorPos(1,2)
  10.  mon.write(textutils.formatTime(os.time(),false))
  11.  mon.clear()
  12.  term.setCursorPos(1,1)
  13. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement