Skip to content

Instantly share code, notes, and snippets.

@zailleh
Last active June 18, 2018 11:41
Show Gist options
  • Save zailleh/cec73db55707c565748c0a318de7547c to your computer and use it in GitHub Desktop.
Save zailleh/cec73db55707c565748c0a318de7547c to your computer and use it in GitHub Desktop.
Script for printing a random welcome message from GLaDOS
################################################################################
# GLaDOS SHELL Welcome Messages!
################################################################################
# Colours Variables
RESET="\033[0m"
BOLD="\033[1m\e[38;5;214m"
ORANGE="\e[38;5;208m"
# FUN GLaDOS QUOTES!!!
echo "${BOLD}Initialising GLaDOS...${RESET}"
QUOTES=(
"Hello and, again, welcome to the Aperture Science computer-aided enrichment \ncenter."
"For your own safety and the safety of others, please refrain from touching \n[bzzzzzt]"
"Please be advised that a noticeable taste of blood is not part of any test\nprotocol but is an unintended side effect of the Aperture Science Material\nEmancipation Grill, which may, in semi-rare cases, emancipate dental fillings,\ncrowns, tooth enamel, and teeth."
"What are you doing? Stop it! I... I... We are pleased that you made it \nthrough the final challenge where we pretended we were going to murder you."
"I sincerely hope you weren't expecting a response. Because I'm not talking \nto you."
"Did you just toss the Aperture Science Thing We Don't Know What It Does into \nthe Aperture Science Emergency Intelligence Incinerator?"
"I don't want to tell you you're business, but if it were me, I'd leave that \nthing alone"
"Certain objects may be vital to your success; Do not destroy testing \napparatus."
)
ARRLEN=${#QUOTES[@]}
R=$(( $RANDOM % $ARRLEN ))
echo -e "${ORANGE}${QUOTES[$R]}${RESET}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment