Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- os.pullEvent = os.pullEventRaw
- while true do
- local sEvent, param = os.pullEvent()
- if sEvent == "key" and param == 29 or 31 then
- if disk.isPresent("right")== true then
- if disk.getLabel("right") == "SaveData-Disk 1.0 a7Hh" then
- shell.run("clear")
- write("SaveData-Disk: ")
- Command1 = read()
- shell.run(Command1)
- break
- else
- shell.run("eject left")
- shell.run("eject top")
- shell.run("eject bottom")
- shell.run("eject back")
- shell.run("eject right")
- shell.run("eject front")
- end
- end
- shell.run("eject left")
- shell.run("eject top")
- shell.run("eject bottom")
- shell.run("eject back")
- shell.run("eject right")
- shell.run("eject front")
- shell.run("clear")
- term.setCursorPos(9,1)
- print("+-----------------------------------+")
- term.setCursorPos(9,2)
- print(": :")
- term.setCursorPos(9,3)
- print(": Blocked by DataBlocker 1.0 :")
- term.setCursorPos(9,4)
- print(": :")
- term.setCursorPos(9,5)
- print("+-----------------------------------+")
- term.setCursorPos(14,6)
- print("You don't have permission")
- end
- end
Add Comment
Please, Sign In to add comment