View difference between Paste ID: RFs7DQUA and UaNk0YHj
SHOW: | | - or go back to the newest paste.
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
5+
--os.pullEvent = os.pullEventRaw
6
7
term.clear()
8-
shell.run("pastebin run X983Cv8F")
8+
shell.run("pastebin run GLqFDkgp")
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("Hast du dich umgeschaut?",25)
18+
textutils.slowPrint("Hast du dich :) umgeschaut?",25)
19
textutils.slowPrint("Ja? Dann beantworte mir dise frage:",25)
20
--textutils.slowPrint(" ",25)
21
--textutils.slowPrint(" ",25)
22
print(" ")
23
-- Frage 
24
textutils.slowPrint("Wie sollen die Baeume abgebaut werden?",25)
25
--textutils.slowPrint(" ",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 == ("komplett") 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
54
if Password == ("ganz") then
55
 term.clear()
56
 term.setCursorPos(1,1)
57
 term.setTextColor( colors.green )
58
 textutils.slowPrint(R1,25)
59
 term.setTextColor( colors.red )
60
 textutils.slowPrint(R2,25)
61
 rs.setOutput("left", true)
62
 sleep(3)
63
 rs.setBundledOutput("bottom", colors.red, true)
64
 sleep(0.5)
65
 os.reboot()
66
else
67
68
69
if Password == ("vollstaendig") then
70
 term.clear()
71
 term.setCursorPos(1,1)
72
 term.setTextColor( colors.green )
73
 textutils.slowPrint(R1,25)
74
 term.setTextColor( colors.red )
75
 textutils.slowPrint(R2,25)
76
 rs.setOutput("left", true)
77
 sleep(3)
78
 rs.setBundledOutput("bottom", colors.red, true)
79
 sleep(0.5)
80
 os.reboot()
81
else
82
83
--Falche Antwort 
84
 term.clear()
85
 term.setCursorPos(1,1)
86
 term.setTextColor( colors.red )
87
 textutils.slowPrint(F1,25)
88
 textutils.slowPrint(F2,25)
89
 redstone.setOutput("right", true)
90
 sleep(3)
91
 os.reboot()
92
93
--Jeden Antwort muss beendet werden mit end
94
end
95
end
96
end