Darknio icon

Uhr mit Tag

Darknio | PRO | 09/05/24 09:52:07 PM UTC (Edited) | 0 ⭐ | 1243 👁️ | Never ⏰ | []
Lua |

1.1 KB

|

None

|

0 👍

/

0 👎

mon1 = peripheral.wrap("bottom")
mon2 = peripheral.wrap("right")
mon3 = peripheral.wrap("monitor_0")
mon4 = peripheral.wrap("monitor_1")
 
mon1.setTextScale(2)
mon2.setTextScale(1)
mon3.setTextScale(2)
mon4.setTextScale(1)
 
    
while true do    
    mon1.clear()
    mon1.setCursorPos(1,1)
    mon1.write(textutils.formatTime(os.time(),true))
    mon1.setCursorPos(1,2)
    mon1.write("Tag ")
    mon1.write(textutils.serialize(os.day()),number)
    
    mon2.clear()
    mon2.setCursorPos(1,1)
    mon2.write(textutils.formatTime(os.time(),true))
    mon2.setCursorPos(1,2)
    mon2.write("Tag ")
    mon2.write(textutils.serialize(os.day()),number)
    
    mon3.clear()
    mon3.setCursorPos(1,1)
    mon3.write(textutils.formatTime(os.time(),true))
    mon3.setCursorPos(1,2)
    mon3.write("Tag ")
    mon3.write(textutils.serialize(os.day()),number)    
    
    mon4.clear()
    mon4.setCursorPos(1,1)
    mon4.write(textutils.formatTime(os.time(),true))
    mon4.setCursorPos(1,2)
    mon4.write("Tag ")
    mon4.write(textutils.serialize(os.day()),number)
    
    sleep(1)
end

Comments

  •  icon
    01/01/70 12:00:00 AM UTC
    Plain Text |

    0 B

    |

    👍

    /

    👎