Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- # Script de Saul
- # Limpiando la pantalla.
- clear
- # Definiendo velocidad de animaciones
- VEL=0.7
- # Este es un script sarcástico, por favor, no tomar a ofensa.
- FILE=100€
- echo -e "\t\t== Introduce el comando ls ==\n"
- # Simulando el prompt. --Muy bueno ésto--
- read -p "${USER}@${HOST}:~$ " VAR
- # Comprobando la ejecución del comando ls.
- if [ "$VAR" != "ls" ]
- then
- echo -e "\nCapullo, te quedas sin premio"
- exit
- fi
- echo "Accediendo a la cuenta de $USER"
- echo -n -e "\r—"
- sleep $VEL
- echo -n -e "\r\\"
- sleep $VEL
- echo -n -e "\r|"
- sleep $VEL
- echo -n -e "\r/"
- sleep $VEL
- echo -n -e "\r—"
- sleep $VEL
- echo -n -e "\r\\"
- sleep $VEL
- echo -e "\r|\n"
- # Comprobando si existen o no archivos de la lotería.
- if [ -f "$FILE" ]
- then
- for i in `seq 100 110`
- do
- clear
- echo -e "Fraude a hacienda\n\n\n"
- echo -n "Retirando de la cuenta: ${i}€"
- rm ${i}€
- sleep $VEL
- done
- clear
- else
- for i in `seq 100 110`
- do
- clear
- echo -e "Has ganado la lotería\n\n\n"
- echo -n "Ingresando en cuenta: ${i}€"
- touch ${i}€
- sleep $VEL
- done
- clear
- fi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement