Advertisement
Der_TJ

BlackTec Script Raum 4

Sep 10th, 2016
205
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 2.86 KB | None | 0 0
  1. --Geschrieben von Der_TJ / Der_TJ1997 / Toben Heinze
  2. --geschrieben fuer BlackTec
  3.  
  4. -- Das folgende aktiviren zum schutz. (anti Terminate)
  5. -- os.pullEvent = os.pullEventRaw
  6.  
  7. shell.run("pastebin run DnGpSiuX")
  8.  
  9. term.clear()
  10. term.setCursorPos(1,1)
  11.  
  12. local R1 = "Das ist Richtig! Gratulation!"
  13. local R2 = "Achtung du wirst gleich Teleportiert."
  14. local F1 = "Das ist leider Falsche."
  15. local F2 = "Versuche es doch gleich noch einmal"
  16.  
  17. -- Text
  18. textutils.slowPrint("Bist du fertig?",25)
  19. textutils.slowPrint("Ja? Dann sage mir doch einmal:",25)
  20. --textutils.slowPrint(" ",25)
  21. --textutils.slowPrint(" ",25)
  22. print(" ")
  23. -- Frage
  24. textutils.slowPrint("Was passiert denn, wenn du",25)
  25. textutils.slowPrint("die Marker nicht abbaust?",25)
  26. --textutils.slowPrint(" ",25)
  27. --textutils.slowPrint(" ",25)
  28. print(" ")
  29.  
  30. Password = read()
  31.  
  32. print(" ")
  33.  
  34. -- hebelt Gross-/Kleinschreibung aus.
  35. Password = Password:lower()
  36.  
  37. --Richtige Antworter
  38.  
  39. if Password == ("der server wird belastet") then
  40.  term.clear()
  41.  term.setCursorPos(1,1)
  42.  term.setTextColor( colors.green )
  43.  textutils.slowPrint(R1,25)
  44.  term.setTextColor( colors.red )
  45.  textutils.slowPrint(R2,25)
  46.  rs.setOutput("left", true)
  47.  sleep(3)
  48.  rs.setBundledOutput("bottom", colors.red, true)
  49.  sleep(0.5)
  50.  os.reboot()
  51. else
  52.  
  53. if Password == ("alle chunks werden geladen") then
  54.  term.clear()
  55.  term.setCursorPos(1,1)
  56.  term.setTextColor( colors.green )
  57.  textutils.slowPrint(R1,25)
  58.  term.setTextColor( colors.red )
  59.  textutils.slowPrint(R2,25)
  60.  rs.setOutput("left", true)
  61.  sleep(3)
  62.  rs.setBundledOutput("bottom", colors.red, true)
  63.  sleep(0.5)
  64.  os.reboot()
  65. else
  66.  
  67. if Password == ("swe swevwe wird stark belastet") then
  68.  term.clear()
  69.  term.setCursorPos(1,1)
  70.  term.setTextColor( colors.green )
  71.  textutils.slowPrint(R1,25)
  72.  term.setTextColor( colors.red )
  73.  textutils.slowPrint(R2,25)
  74.  rs.setOutput("left", true)
  75.  sleep(3)
  76.  rs.setBundledOutput("bottom", colors.red, true)
  77.  sleep(0.5)
  78.  os.reboot()
  79. else
  80.  
  81. if Password == ("es laggt") then
  82.  term.clear()
  83.  term.setCursorPos(1,1)
  84.  term.setTextColor( colors.green )
  85.  textutils.slowPrint(R1,25)
  86.  term.setTextColor( colors.red )
  87.  textutils.slowPrint(R2,25)
  88.  rs.setOutput("left", true)
  89.  sleep(3)
  90.  rs.setBundledOutput("bottom", colors.red, true)
  91.  sleep(0.5)
  92.  os.reboot()
  93. else
  94.  
  95. if Password == ("es lagt") then
  96.  term.clear()
  97.  term.setCursorPos(1,1)
  98.  term.setTextColor( colors.green )
  99.  textutils.slowPrint(R1,25)
  100.  term.setTextColor( colors.red )
  101.  textutils.slowPrint(R2,25)
  102.  rs.setOutput("left", true)
  103.  sleep(3)
  104.  rs.setBundledOutput("bottom", colors.red, true)
  105.  sleep(0.5)
  106.  os.reboot()
  107. else
  108.  
  109.  
  110.  
  111.  
  112. --Falche Antwort
  113.  term.clear()
  114.  term.setCursorPos(1,1)
  115.  term.setTextColor( colors.red )
  116.  textutils.slowPrint(F1,25)
  117.  textutils.slowPrint(F2,25)
  118.  redstone.setOutput("right", true)
  119.  sleep(3)
  120.  os.reboot()
  121.  
  122. --Jeden Antwort muss beendet werden mit end
  123. end
  124. end
  125. end
  126. end
  127. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement