Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- while true do
- os.pullEvent = os.pullEventRaw
- term.clear()
- term.setBackgroundColor(colors.blue)
- term.clear()
- term.setBackgroundColor(colors.blue)
- term.setCursorPos(15,7)
- print("Witamy w XBlock 2!")
- sleep(2)
- term.clear()
- term.setCursorPos(1,1)
- print("XBlock2 v1.1")
- print("1. Uruchom plik z dyskietki [XBlock2]")
- print("2. Uruchom plik z dyskietki [XBlock1]")
- print("3. Wylacz system")
- print("4. Resetuj XBlock2")
- write(".>")
- akcja = read()
- if akcja=="3" then os.shutdown() end
- if akcja=="4" then os.reboot() end
- if akcja=="1" then shell.run("/disk/software") end
- if akcja=="2" then shell.run("/disk/start") end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement