Advertisement
Guest User

startup

a guest
Jun 15th, 2019
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.61 KB | None | 0 0
  1. shell.run("clear")
  2. rednet.open("right")
  3. print("Verfuegbare Turtles:")
  4. term.setTextColor(colors.white)
  5. print("--------------------------------------------------")
  6. print("5")
  7. print("")
  8. print("--------------------------------------------------")
  9. print("Verfuegbare Programme:")
  10. term.setTextColor(colors.white)
  11. print("--------------------------------------------------")
  12. print("strip")
  13. print("stopstrip")
  14. print("")
  15. print("--------------------------------------------------")
  16. write("Turtle waehlen :")
  17. term.setTextColor(colors.white)
  18. turtle =io.read()
  19. print("--------------------------------------------------")
  20. write("Programm waehlen :")
  21. programm = io.read()
  22. term.setTextColor(colors.white)
  23. print("--------------------------------------------------")
  24.  
  25. if programm == "strip" then
  26. shell.run("clear")
  27. shell.run("strip")
  28. end
  29.  
  30. rednet.send(turtle+0, programm)
  31.  
  32. shell.run("clear")
  33. print("    wird bearbeitet|  --  |")
  34. sleep(1)
  35. shell.run("clear")
  36. print("    wird bearbeitet|  |  |")
  37. sleep(1)
  38. shell.run("clear")
  39. print("    wird bearbeitet|  --  |")
  40. sleep(1)
  41. shell.run("clear")
  42. print("    wird bearbeitet|  |  |")
  43. sleep(1)
  44. shell.run("clear")
  45. print("    wird bearbeitet|  --  |")
  46. sleep(1)
  47. shell.run("clear")
  48. print("    wird bearbeitet|  |  |")
  49. sleep(1)
  50. shell.run("clear")
  51. print("    wird bearbeitet|  --  |")
  52. sleep(1)
  53. shell.run("clear")
  54. print("    wird bearbeitet|  |  |")
  55. sleep(1)
  56. shell.run("clear")
  57. print("--------------------------------------------------")
  58. sleep(0.3)
  59. print("    Yeez its workin!")
  60. sleep(0.3)
  61. print("--------------------------------------------------")
  62. sleep(5)
  63. shell.run("reboot")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement