3
3
from prompt_toolkit .shortcuts import ProgressBar
4
4
from prompt_toolkit .formatted_text import HTML
5
5
from prompt_toolkit import prompt
6
+ from prompt_toolkit .shortcuts import message_dialog
7
+ from prompt_toolkit .shortcuts import yes_no_dialog
6
8
import time
7
9
import bcrypt
8
10
@@ -77,15 +79,22 @@ def open_terminal():
77
79
while True :
78
80
text = prompt ('awaiting commands>>>> ' )
79
81
#put all the usercommands under here please!
82
+ if text == 'CNS' :
83
+ print ("running secondary program..." )
84
+ time .sleep (2 )
85
+ CNS_EE_HAKED ()
80
86
81
87
if text == 't342' :
82
- print ('wrong answer ' )
88
+ print ('heyy thanks for sayin somthin! ' )
83
89
continue
84
90
91
+
92
+
85
93
#BUG: the error "no command" will reply when exiting the FROST EE!
86
94
# FROST EE WIP!!
87
95
if text == 'frostbyte' :
88
96
print ("loading frostbyte EE..." )
97
+ #enters the frostbyte EE
89
98
frostbyte_EE ()
90
99
91
100
@@ -110,6 +119,30 @@ def open_terminal():
110
119
else :
111
120
print ("uhh, hmm, i dont think thats a command friend! type 'commands' for a list of commands!" )
112
121
122
+ # PLEASE PUT ALL 2ND DEF(S) BELOW THIS NOTE!
123
+
124
+ # the CNS EE below this messange
125
+ def CNS_EE_HAKED ():
126
+ result = yes_no_dialog (
127
+ title = 'Do you want, the TrUtH?' ,
128
+ text = 'Do you want to confirm? dO yOU wAnT ThE tRUTh? Do YoU WaNt tHe tRUTh? Do YoU WaNt tHe tRUTh?' ).run ()
129
+ if result == True :
130
+ message_dialog (
131
+ title = 'CNS CNS CNS CNS CNS CNS SeeK tHe TrutH' ,
132
+ text = 'very well then, we will see you soon enough' ).run ()
133
+
134
+ print (" FATAL ERROR!: VAIIYA defenter has encountered an error! please restart the program to continue!" )
135
+ time .sleep (4 )
136
+ exit ()
137
+ if result == False :
138
+ message_dialog (
139
+ title = 'CNS CNS CNS CNS CNS CNS SeeK tHe TrutH' ,
140
+ text = 'how dissapointing, that you dont want tHe TrutH. we will see you soon enough' ).run ()
141
+
142
+ print (" FATAL ERROR!: VAIIYA defenter has encountered an error! please restart the program to continue!" )
143
+ time .sleep (4 )
144
+ exit ()
145
+
113
146
114
147
#hehe youll never get de password now! ahahahah AHAHAHAHA
115
148
#frostEEpswrd1
0 commit comments