Uhevela

Untitled

Mar 2nd, 2024
10
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. m = peripheral.find("monitor")
  2.  
  3. while true do
  4. m.clear()
  5. m.setCursorPos(2,2)
  6. m.write("J")
  7. m.write(os.day()-1)
  8. m.setCursorPos(2,3)
  9. m.write(textutils.formatTime(os.time(), true))
  10. m.setCursorPos(2,4)
  11. if (rs.getInput("back") == true) then
  12. m.write("pluie")
  13. end
  14. sleep(0.3)
  15. end
Add Comment
Please, Sign In to add comment