HEGALE
This commit is contained in:
@@ -1,6 +1,28 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
read text
|
AUTO=false
|
||||||
|
|
||||||
|
while getopts "a" flag; do
|
||||||
|
case "$flag" in
|
||||||
|
a)
|
||||||
|
shaws=("SHAW!" "HEAGALE" "GIT GUD" "Fren." "HahAH" "EDINO!")
|
||||||
|
length=${#shaws[@]}
|
||||||
|
random_index=$(( RANDOM % length ))
|
||||||
|
|
||||||
|
text=${shaws[$random_index]}
|
||||||
|
AUTO=true
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
echo "gatya"
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
done
|
||||||
|
|
||||||
|
|
||||||
|
if [ $AUTO = false ]
|
||||||
|
then
|
||||||
|
read text
|
||||||
|
fi
|
||||||
|
|
||||||
line=""
|
line=""
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user