Skip to content

Commit 1a23093

Browse files
authored
Merge pull request #8 from T34256/experimental
Experimental to main v0.0.4 release
2 parents d68e9cd + e59d01b commit 1a23093

File tree

1 file changed

+34
-1
lines changed

1 file changed

+34
-1
lines changed

VAIIYA terminal.py

+34-1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
from prompt_toolkit.shortcuts import ProgressBar
44
from prompt_toolkit.formatted_text import HTML
55
from prompt_toolkit import prompt
6+
from prompt_toolkit.shortcuts import message_dialog
7+
from prompt_toolkit.shortcuts import yes_no_dialog
68
import time
79
import bcrypt
810

@@ -77,15 +79,22 @@ def open_terminal():
7779
while True:
7880
text = prompt('awaiting commands>>>> ')
7981
#put all the usercommands under here please!
82+
if text == 'CNS':
83+
print("running secondary program...")
84+
time.sleep(2)
85+
CNS_EE_HAKED()
8086

8187
if text == 't342':
82-
print('wrong answer')
88+
print('heyy thanks for sayin somthin!')
8389
continue
8490

91+
92+
8593
#BUG: the error "no command" will reply when exiting the FROST EE!
8694
# FROST EE WIP!!
8795
if text == 'frostbyte':
8896
print("loading frostbyte EE...")
97+
#enters the frostbyte EE
8998
frostbyte_EE()
9099

91100

@@ -110,6 +119,30 @@ def open_terminal():
110119
else:
111120
print("uhh, hmm, i dont think thats a command friend! type 'commands' for a list of commands!")
112121

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+
113146

114147
#hehe youll never get de password now! ahahahah AHAHAHAHA
115148
#frostEEpswrd1

0 commit comments

Comments
 (0)