Small fix to the spin module to make it work better.
This commit is contained in:
parent
e93644f874
commit
c4fc8c308e
@ -4,9 +4,10 @@ userNick="$1"
|
||||
shift
|
||||
chan="$1"
|
||||
shift
|
||||
spin="${*// /}"
|
||||
message="${*}"
|
||||
spin="${message##*[[:space:]]}"
|
||||
|
||||
message="$spin $spin $spin $spin "
|
||||
message="${message} $spin $spin $spin "
|
||||
if [[ "$spin" =~ [aeiou].$ ]]; then
|
||||
for i in $(seq 10) ; do
|
||||
spin+="${spin: -1}${spin: -1}"
|
||||
|
Loading…
Reference in New Issue
Block a user