Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local monitor = peripheral.wrap( "top" )
- monitor.clear()
- monitor.setTextScale(2)
- monitor.setCursorPos(1,4)
- monitor.write("Welcome to blablabla")
- while true do
- monitor.setCursorPos(1,2)
- monitor.clearLine()
- local MCTime = textutils.formatTime(os.time(), false )
- monitor.write(MCTime)
- sleep(.5)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement