Advertisement
SuchyYT

installer_1-18.lua

Mar 29th, 2024
795
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. -- | Turtly Farmer |
  2. -- A ComputerCraft program for turtles to automatically farm wheat
  3. -- Version: 0.1.0
  4. -- Github repo: https://github.com/HeshamSHY/Turtly-Farmer
  5.  
  6. --Turtly Farmer's installer; to install and setup the program.
  7. shell.run("clear")
  8. print("| Thanks for installing Turtly Farmer |")
  9. print("------")
  10. print("Are you sure you want to install?")
  11. print("type yes to confirm")
  12. print("DISCLAMER: Installing will delete everything in this turtle")
  13. print("------")
  14. confirmation = read()
  15. if confirmation == "yes" then
  16.     shell.run("clear")
  17.     shell.run("delete *")
  18.     shell.run("clear")
  19.     print("Starting installation")
  20.     shell.run("pastebin get yFSxURzj turtlyfarmer.lua")
  21.     shell.run("pastebin get H19Eqf45 startup.lua")
  22.     shell.run("clear")
  23.     print("Installation finished; rebooting in 5sec")
  24.     sleep(5)
  25.     shell.run("reboot")
  26. else
  27.     print("Installation canceled")
  28. end
  29.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement