Advertisement
Yorinar

LuaMCTimer

Oct 1st, 2013
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. side = "left"
  2. text = "PartyHouse"
  3. mon = peripheral.wrap(side)
  4. mon.setTextScale(3)
  5. while true
  6. do
  7. mon.setCursorPos(1,1)
  8. mon.write(text)
  9. mon.setCursorPos(2,4)
  10. mon.write(textutils.formatTime(os.time(),false))
  11. sleep(1)
  12. mon.clear()
  13. term.setCursorPos(1,1)
  14. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement