-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commands
Warning
THIS PAGE IS STILL WORK IN PROGRESS AND IS NOT FINISHED.
Warning
THIS PAGE CONTAINS SPOILERS! BUT ARE NEAR THE BOTTOM OF THE PAGE, YOU WILL BE WARNED BEFORE YOU VIEW SPOILERS
Hello again fellow VAIIYA trustees and THE FINALS contestants! Welcome to the COMMANDS part of the VAIIYA Terminal wiki! here you will be shown all the active commands, the basic code for them, and come hidden things that you cant get normally!
Note
I will try to put down the best examples as I can, as these wiki pages are for your fellow VAIIYA helpers! <3
command | description | is enabled? ❌/✅/ |
If |
---|---|---|---|
credits |
Shows the credits to VAIIYA Terminal! <3 | ✅ | None |
version |
Shows the version of VAIIYA Terminal, and a few EEs along with it! | ✅ | None |
discord |
Gives the user a link to The VAIIYA Hub! | ✅ | None |
CNS |
Brings the user to a screen that isn't supposed to be there ( ̄y▽, ̄)╭ | ✅ | None |
walker |
One of the THE FINALS's CMs logins! I don't have the password! (⊙_⊙)? | The user needs the password to have access to the stuff behind... (´・ω・`)? | |
frostbyte |
Another THE FINALS's CM login, but frost.... go to a doc... stop doin UwU | The user also needs the password to have access to the stuff behind | |
DEBUG |
A simple debugging commandline that skips all the other steps. | ❌ | restricted for devs only. |
commands |
The same ol' commands list! for everything you want to know! | ✅ | None |
exit |
Well... i think you know what this does ( ̄y▽, ̄)╭ | ✅ | None |
Important
the commands in all of these examples are all inside of the open_terminal()
block, or the DEBUG_COMMANDLINE()
block.
the general prompt nest from prompt toolkit is here:
text = prompt('awaiting command(s)>>> ')
the credits
command in VAIIYA Terminal is a basic credits screen! I believe that all contributors, no matter the size, needs to have their work seen and apricated.
the code for the credits
command as follows:
elif text == 'credits':
print("""|""")
print("""|""")
print("The credits of VAIIYA terminal!")
print("""|""")
print("Owner: T342, T342guy or Nathan johnson.")
print("licensed under MIT ©2024 Nathan Johnson. view LICENSE for more info.")
print("""|""")
print("contributors: ")
print("Smashel from discord.")
print("Riskit from discord.")
print("""|""")
print("""|""")
print("and thats all for now! have fun, stay safe and secure! VAIIYA trustees and THE FINALS contestants!")
print("""|""")
The discord
command is for an easy invite to The VAIIYA Hub!
it contains a link that will never expire!
the code for the discord
command as follows:
elif text == 'discord':
print("""|""")
print(" the invite link to The VAIIYA Hub and VAIIYA Terminal news!: https://discord.gg/Qt5Je9sFE5 ")
print("""|""")
Note
The discord link to The VAIIYA Hub is also now in the README!
The CNS
command is a odd one... it really wasn't supposed to be there... and yet it is... wonder who is in the system...
nevertheless, this command is a bit more complicated! it uses def
's for more functions! i will show you the code, and how it will work!
here is a mermaid diagram of what would happen in the program:
flowchart TD
CNS_command_sent --> def_CNS_EE_HAKED
def_CNS_EE_HAKED --> choose_yes_or_no
choose_yes_or_no --> choose_yes
choose_yes_or_no --> choose_no
choose_yes --> ending_message_1
choose_no --> ending_message_2
ending_message_1 --> quit_countdown_and_raise_SystemExit
ending_message_2 --> quit_countdown_and_raise_SystemExit
Seems kind of confusing? Dont worry! I got more to show!
Currently, the way this command works is sending the instance into a different definition, or also called a def
.
Thats what CNS_command_sent
is doing! it is sending the command into another part of the program. you can learn more about def
's in the python docs, but not right now.
now i will give you all the code you've been waiting for!
here is the command code:
elif text == 'CNS':
print("CNS_VAIIYA_BYPASS_V4.567.EXE EXECUTING....")
time.sleep(2)
CNS_EE_HAKED()
Note
Remember, that the commands are nested inside open_terminal()
! View the important note up top if you forgot and want more info!
and here is the CNS_EE_HAKED()
def
code:
def CNS_EE_HAKED():
#below is the Y/N prompt for CNS, and the following `result` can be split into a bool and set as True or False
result = yes_no_dialog(
title='CNS.02.06.01',
text='dO yOU wAnT ThE tRUTh?').run()
#if the `result` has a bool of True, it will run this part of the code.
if result == True:
message_dialog(
title='CNS.02.06.01',
text='very well then, we will see you soon enough').run()
#then after it returns to the main menu and exits the program.
print("VAIIYA DEFENDER ENGINE CRITICAL FAILURE!: THE VAIIYA DEFENDER ENGINE HAS FOUND A BREACH AND WILL NOW FORCE QUIT THE PROGRAM")
print("""|""")
print("THE PROGRAM WILL SHUTDOWN IN:")
time.sleep(1)
print("3")
time.sleep(1)
print("2")
time.sleep(1)
print("1")
time.sleep(1)
raise SystemExit
#if the `result` has a bool of False, then it will run this part of code. and again will return to menu and exit the program.
if result == False:
message_dialog(
title='CNS.02.06.01',
text='how disappointing, that you dont want tHe TrutH. we will see you soon enough').run()
print("VAIIYA DEFENDER ENGINE CRITICAL FAILURE!: THE VAIIYA DEFENDER ENGINE HAS FOUND A BREACH AND WILL NOW FORCE QUIT THE PROGRAM")
print("""|""")
print("THE PROGRAM WILL SHUTDOWN IN:")
time.sleep(1)
print("3")
time.sleep(1)
print("2")
time.sleep(1)
print("1")
time.sleep(1)
raise SystemExit
I left the notes in there for you all <3
The rest of the functions in that code are handled by prompt toolkit
This command will be talked about more in a different page... soon The CMs logins
This command will also be handled in a different page! also frost... plz stop with the UwU つ﹏⊂ The CMs logins
Important
Remember! that this command cannot be used in normal releases of VAIIYA terminal! only devs have ability for this command!
Ah yes, the DEBUG
COMMAND! any devs dream to have automatically and not build by hand (^///^)
The DEBUG
command is just a very simple commandline that is activated by a return
value all the way at the bottom of the script
here is a diagram of the actions in the DEBUG
command:
flowchart TD
DEBUG_command_sent --> is_DEBUG_enabled?
is_DEBUG_enabled? --> DEBUG_return_true
is_DEBUG_enabled? --> DEBUG_return_false
DEBUG_return_false --> haha_nice_try_message
haha_nice_try_message --> return_to_main
DEBUG_return_true --> DEBUG_commandline
DEBUG_commandline --> command_VRRALSA
command_VRRALSA --> VRRALSA_commandline
DEBUG_commandline --> command_WALKER
command_WALKER --> WALKER_commandline
DEBUG_commandline --> command_FROST
command_FROST --> FROST_commandline
DEBUG_commandline --> command_COMMANDS
command_COMMANDS --> print_DEBUG_commands
print_DEBUG_commands --> DEBUG_commandline
DEBUG_commandline --> command_EXIT
command_EXIT --> return_to_main
DEBUG_commandline --> invalid_command
invalid_command --> invalid_command_message
invalid_command_message --> DEBUG_commandline
here is the code for the DEBUG
command:
def DEBUG_COMMANDLINE():
if DEBUG_ENABLE() == True:
while True:
text = prompt('DEBUG COMMANDLINE >>> ')
if text == 'VRRALSA':
VRRALSA_startup()
elif text == 'WALKER':
walker_entered()
elif text == 'FROST':
frostbyte_entered()
elif text == 'COMMANDS':
print("commands:")
print("VRRALSA")
print("WALKER")
print("FROST")
print("EXIT")
elif text == 'EXIT':
break
else:
print("use COMMANDS if you forgot")
if DEBUG_ENABLE() == False:
print("hahaha good try ( ̄y▽, ̄)╭ ")
and here is how I handle settings!
def DEBUG_ENABLE():
return True
Caution
This wiki contains a large amount of spoilers for VAIIYA Terminal! YOU WILL BE WARNED BEFORE SPOILERS SHOW UP!
Warning
This wiki is currently WORK IN PROGRESS! Thank you for understanding.