DanielLaby99

Hack

May 25th, 2013
256
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.25 KB | None | 0 0
  1. os.pullEvent = os.pullEventRaw
  2.    while true do
  3.                   local sEvent, param = os.pullEvent()
  4.                   if sEvent == "key" and param == 29 or 31 then
  5. if disk.isPresent("right")== true then
  6.      if disk.getLabel("right") == "SaveData-Disk 1.0 a7Hh" then
  7.      shell.run("clear")
  8.      write("SaveData-Disk: ")
  9.      Command1 = read()
  10.      shell.run(Command1)
  11.      break
  12.      else
  13. shell.run("eject left")
  14. shell.run("eject top")
  15. shell.run("eject bottom")
  16. shell.run("eject back")
  17. shell.run("eject right")
  18. shell.run("eject front")
  19.      end
  20. end
  21.  
  22.  
  23.  
  24. shell.run("eject left")
  25. shell.run("eject top")
  26. shell.run("eject bottom")
  27. shell.run("eject back")
  28. shell.run("eject right")
  29. shell.run("eject front")
  30.                    shell.run("clear")
  31.                         term.setCursorPos(9,1)
  32.                         print("+-----------------------------------+")
  33.                         term.setCursorPos(9,2)
  34.                         print(":                                   :")
  35.                         term.setCursorPos(9,3)
  36.                         print(":    Blocked by DataBlocker 1.0     :")
  37.                         term.setCursorPos(9,4)
  38.                         print(":                                   :")
  39.                         term.setCursorPos(9,5)
  40.                         print("+-----------------------------------+")
  41.                         term.setCursorPos(14,6)
  42.                         print("You don't have permission")
  43.  
  44.                   end
  45.                 end
Add Comment
Please, Sign In to add comment