Advertisement
ecco7777

instant ecco

Apr 19th, 2015
7,265
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.90 KB | None | 0 0
  1. if os.getComputerLabel==nil then
  2. print("Gebe Bitte deinen Namen ein:")
  3. os.setComputerLabel(io.read())
  4. end
  5. print("moechest du auch einen eccomputer?")
  6. print("pastebin get h5ScYTtk startup")
  7.  
  8. shell.run("delete ecco")
  9. shell.run("pastebin get t4WJV7fp ecco")
  10. shell.run("pastebin get USRY4qQU email")
  11. shell.run("delete bild")
  12. shell.run("pastebin get dzeTw5Qs bild")
  13. sides={"top","bottom","back","front","left","right"}
  14.  
  15. function eccoclicker()
  16. for i=1,6 do
  17. if peripheral.getType(sides[i]) == "monitor" then
  18. shell.run("monitor "..sides[i].." bild")
  19. end
  20. end
  21. end
  22.  
  23. function mail()
  24. shell.run("email")
  25. end
  26.  
  27. function enter()
  28. term.clear()
  29. term.setCursorPos(1,1)
  30. print("Druecke Enter und eine Email an ecco7777 zu schicken.")
  31. key=1
  32. while key~=28  do
  33. event,key=os.pullEvent("key")
  34. mail()
  35. end
  36. end
  37.  
  38. print("moechest du auch einen eccomputer?")
  39. print("pastebin get h5ScYTtk startup")
  40.  
  41. eccoclicker()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement