2.1 version.

This commit is contained in:
#root_informatica 2024-02-26 01:48:45 -03:00
parent 07bf62d7ed
commit 00854a4511
1 changed files with 17 additions and 4 deletions

View File

@ -3,9 +3,22 @@
## try your luck in love ##
# luckylove.sh by @root_informatica.
VAL=$(shuf -i 0-1 -n 1 | tr -d '\n')
VAL=$(shuf -i 0-3 -n 1 | tr -d '\n')
read -p "Enter the name of the person you are in love with: " NAME
case $VAL in
0)
echo "😠 $NAME hates you"
;;
1)
echo "😀 $NAME thinks you're cute"
;;
2)
echo "😒 $NAME finds you a bit stupid"
;;
3)
echo "😍 $NAME loves You"
;;
esac
read -p "Enter the name of the person you are in love with:: " NAME
[ $VAL = 0 ] && echo "😍 $NAME loves You" \
|| echo "😠 $NAME hates you"