Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --Geschrieben von Der_TJ / Der_TJ1997 / Toben Heinze
- --geschrieben fuer BlackTec
- -- Das folgende aktiviren zum schutz. (anti Terminate)
- -- os.pullEvent = os.pullEventRaw
- shell.run("pastebin run wbJ8TTFe")
- term.clear()
- term.setCursorPos(1,1)
- local R1 = "Das ist Richtig! Gratulation!"
- local R2 = "Achtung du wirst gleich Teleportiert."
- local F1 = "Das ist leider Falsche."
- local F2 = "Versuche es doch gleich noch einmal"
- -- Text
- textutils.slowPrint("Hast du dir alles gut angesehen?",25)
- --textutils.slowPrint(" ",25)
- --textutils.slowPrint(" ",25)
- --textutils.slowPrint(" ",25)
- print(" ")
- -- Frage
- textutils.slowPrint("Dann nenne mir ein von den beiden",25)
- textutils.slowPrint("Hilfreichen Items.",25)
- --textutils.slowPrint(" ",25)
- --textutils.slowPrint(" ",25)
- print(" ")
- Password = read()
- print(" ")
- -- hebelt Gross-/Kleinschreibung aus.
- Password = Password:lower()
- --Richtige Antworter
- if Password == ("crescent hammer") then
- term.clear()
- term.setCursorPos(1,1)
- term.setTextColor( colors.green )
- textutils.slowPrint(R1,25)
- term.setTextColor( colors.red )
- textutils.slowPrint(R2,25)
- rs.setOutput("left", true)
- sleep(3)
- rs.setBundledOutput("bottom", colors.red, true)
- sleep(0.5)
- os.reboot()
- else
- if Password == ("cable anchor") then
- term.clear()
- term.setCursorPos(1,1)
- term.setTextColor( colors.green )
- textutils.slowPrint(R1,25)
- term.setTextColor( colors.red )
- textutils.slowPrint(R2,25)
- rs.setOutput("left", true)
- sleep(3)
- rs.setBundledOutput("bottom", colors.red, true)
- sleep(0.5)
- os.reboot()
- else
- --if Password == (" ") then
- -- term.clear()
- -- term.setCursorPos(1,1)
- -- term.setTextColor( colors.green )
- -- textutils.slowPrint(R1,25)
- -- term.setTextColor( colors.red )
- -- textutils.slowPrint(R2,25)
- -- rs.setOutput("left", true)
- -- sleep(3)
- -- rs.setBundledOutput("bottom", colors.red, true)
- -- sleep(0.5)
- -- os.reboot()
- --else
- --if Password == (" ") then
- -- term.clear()
- -- term.setCursorPos(1,1)
- -- term.setTextColor( colors.green )
- -- textutils.slowPrint(R1,25)
- -- term.setTextColor( colors.red )
- -- textutils.slowPrint(R2,25)
- -- rs.setOutput("left", true)
- -- sleep(3)
- -- rs.setBundledOutput("bottom", colors.red, true)
- -- sleep(0.5)
- -- os.reboot()
- --else
- --if Password == (" ") then
- -- term.clear()
- -- term.setCursorPos(1,1)
- -- term.setTextColor( colors.green )
- -- textutils.slowPrint(R1,25)
- -- term.setTextColor( colors.red )
- -- textutils.slowPrint(R2,25)
- -- rs.setOutput("left", true)
- -- sleep(3)
- -- rs.setBundledOutput("bottom", colors.red, true)
- -- sleep(0.5)
- -- os.reboot()
- --else
- --Falche Antwort
- term.clear()
- term.setCursorPos(1,1)
- term.setTextColor( colors.red )
- textutils.slowPrint(F1,25)
- textutils.slowPrint(F2,25)
- redstone.setOutput("right", true)
- sleep(3)
- os.reboot()
- --Jeden Antwort muss beendet werden mit end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement