Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local function s(...) return sleep(...) end
- local function w(...) return write(...) end
- local function p(...) return print(...) end
- local function tw(...) return term.write(...) end
- local function scp(...) return term.setCursorPos(...) end
- local function sbc(...) return term.setBackgroundColor(...) end
- local function stc(...) return term.setTextColor(...) end
- local function tc(...) return term.clear(...) end
- local function tcl(...) return term.clearLine(...) end
- local function r(...) return shell.run(...) end
- local function sp(...) return textutils.slowPrint(...) end
- local function sw(...) return textutils.slowWrite(...) end
- local function fse(...) return fs.exists(...) end
- local function pul(...) return paintutils.loadImage(...) end
- local function pud(...) return paintutils.drawImage(...) end
- local function pfb(...) return paintutils.drawFilledBox(...) end
- local function su(...) return os.shutdown(...) end
- local function re(...) return os.reboot(...) end
- local function pdp(...) return paintutils.drawPixel(...) end
- while true do
- tc()
- pfb(1, 1, 51, 1, colors.brown)
- pfb(2, 2, 50, 17, colors.black)
- pfb(1, 1, 1, 18, colors.brown)
- pfb(1, 18, 51, 18, colors.brown)
- pfb(51, 1, 51, 18, colors.brown)
- pfb(1, 19, 5, 19, colors.green)
- pfb(6, 19, 49, 19, colors.blue)
- pdp(50, 19, colors.red)
- pdp(51, 19, colors.orange)
- sbc(colors.green)
- stc(colors.white)
- scp(1,19)
- w("Start")
- sbc(colors.brown)
- stc(colors.white)
- scp(1,1)
- p("Informacje")
- time = os.time()
- time = textutils.formatTime(time, true)
- sbc(colors.blue)
- stc(colors.white)
- scp(45,19)
- write(time)
- s(5)
- r("clear")
- scp(1,10)
- sbc(colors.black)
- tc()
- sbc(colors.black)
- stc(colors.white)
- p("Kup komputer z systemem MineCore May Update juz dzisiaj! Tylko u Microcraft")
- s(5)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement