Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function kontrola ()
- term.setBackgroundColor(colors.white)
- term.setTextColor(colors.black)
- term.clear()
- term.setCursorPos(14, 7)
- print "Instalace systemu"
- term.setCursorPos(14, 4)
- print "Pepdroll 6 CZ - 1"
- term.setCursorPos(14, 5)
- print "Pepdroll 6 EN - 2"
- term.setCursorPos(18, 8)
- print " support /help "
- term.setBackgroundColor(colors.lightBlue)
- term.setCursorPos(23, 10)
- print " "
- term.setCursorPos(24, 10)
- opak = io.read ()
- if opak == "1" then
- disk.eject("left")
- disk.eject("right")
- disk.eject("top")
- disk.eject("bottom")
- shell.run ("pastebin run CZe9TfuV")
- elseif opak == "/help" then
- term.setBackgroundColor(colors.white)
- term.setTextColor(colors.black)
- term.clear()
- term.setCursorPos(5, 7)
- term.setBackgroundColor(colors.yellow)
- term.setTextColor(colors.white)
- print " "
- term.setCursorPos(5, 8)
- print " 1 -> Pepdroll CZ "
- term.setCursorPos(5, 9)
- print " 2 -> Pepdroll EN "
- term.setCursorPos(5, 10)
- print " /help -> napoveda "
- term.setCursorPos(5, 11)
- print " Enter -> konec napovedy "
- term.setCursorPos(5, 12)
- print " "
- term.setCursorPos(5, 13)
- a = io.read ()
- if a == " " then
- kontrola ()
- else
- kontrola ()
- end
- elseif opak == "2" then
- disk.eject("left")
- disk.eject("right")
- disk.eject("top")
- disk.eject("bottom")
- shell.run ("pastebin run A60xZUtg")
- else
- term.setBackgroundColor(colors.red)
- os.shutdown ()
- sleep(1)
- kontrola ()
- end
- end
- kontrola ()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement