Advertisement
Pirnogion

InstallLAPI

Nov 24th, 2014
154
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.89 KB | None | 0 0
  1. term.setBackgroundColor(colors.black)
  2. term.setTextColor(colors.white)
  3. term.clear()
  4. term.setCursorPos(1, 1)
  5.  
  6. local demo = false
  7. print("Load demo? y/n")
  8. local _, character = os.pullEvent("char")
  9.  
  10. term.setBackgroundColor(colors.black)
  11. term.setTextColor(colors.white)
  12. term.clear()
  13. term.setCursorPos(1, 1)
  14.  
  15. if (character == "y") then
  16.  print("Loading LAPI + demo. Please, wait.")
  17.  shell.run("pastebin get akCaC3EU test")
  18.  shell.run("pastebin get R5KwSVTj Layer1.lyr")
  19.  shell.run("pastebin get JccdfkwA Layer2.lyr")
  20.  shell.run("pastebin get 30d4cN6b Layer3.lyr")
  21. else
  22.  print("Loading LAPI. Please, wait.")
  23. end
  24.  
  25. print("")
  26.  
  27. shell.run("mkdir LayerAPI")
  28. shell.run("pastebin get wL5Z1LTf LayerAPI/layerobj")
  29. shell.run("pastebin get PvPZ7WRF LayerAPI/layermanager")
  30. shell.run("pastebin get 4LnYHbaU LayerAPI/FIO")
  31. shell.run("pastebin get shi5pVpL LayerAPI/LAPIShell")
  32.  
  33. print("LAPI loaded.")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement