Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- mon = peripheral.wrap("right") -- replace "left" with the side your monitor is on
- mon.setTextScale(5) -- change 5 to any any number between 0.5 and 5 to change the size of the text
- while true do
- mon.clear()
- mon.setCursorPos(1,1)
- local nTime = os.time()
- mon.write(os.day() .. "d" .. " " .. textutils.formatTime(nTime,false) .. "h")
- sleep(1)
- end
Advertisement
Add Comment
Please, Sign In to add comment