daily pastebin goal


PolskiWisnia Jul 17th, 2018 (edited) 76 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. os.pullEvent = os.pullEventRaw
  2. term.clear()
  3. term.setCursorPos(1,2)
  4. print("Wcisniecie przycisku ENTER spowoduje rozruch z dyskietki")
  5. term.setCursorPos(1,4)
  6. print("Wcisniecie przycisku Q spowoduje opuszczenie instalatora")
  7. local evt, key = os.pullEvent("key")
  8. if key == 16 then error("Opuszczono instalator") end
  9. if key == 28 then
  10.  shell.run("/disk/setup")
  11. end
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand