Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- mon = peripheral.find("monitor")
- term.redirect(mon)
- local monitor = peripheral.wrap("top")
- monitor.setTextScale(2)
- dayName = "null"
- day = os.day()
- presentDay = day
- dayNumber = 1
- nTime = os.time()
- nDay = os.day()
- while true do
- day = os.day()
- term.clear()
- term.setCursorPos(1,1)
- nTime = os.time()
- nDay = os.day()
- print("Le serveur a tourné "..nDay.." jours sans incident.")
- print( "Il est "..textutils.formatTime( nTime, false )..".")
- os.sleep(0.75)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement