22 lines
600 B
Bash
22 lines
600 B
Bash
#!/bin/bash
|
|
|
|
type_text() {
|
|
local text="$1"
|
|
local delay="$2"
|
|
local char
|
|
|
|
while IFS= read -r -n1 char; do
|
|
printf "%b" "$char"
|
|
sleep "$delay"
|
|
done <<< "$text"
|
|
|
|
printf "\n"
|
|
}
|
|
|
|
type_text "$(echo -e "\e[3m Hier findest du Zwei Dateien vor. \e[0m")" 0.05
|
|
type_text "$(echo -e "\e[3m Du kannst dich nicht mehr wirklich errinern was hier Passiert ist, \e[0m")" 0.03
|
|
type_text "$(echo -e "\e[3m aber du versuchst es in dem du dir die Dateien einmal anschaust. \e[0m")" 0.03
|
|
|
|
type_text "$(echo -e "\n")" 0.2
|
|
|
|
type_text "$(echo -e "\033[3mAktuelles Level: 4\033[0m")" 0.02 |