Add "L" command and fix "w".
This commit is contained in:
parent
8e3887d96c
commit
66eb152cfc
@ -94,6 +94,9 @@ while :; do
|
|||||||
read a
|
read a
|
||||||
send_message 0"${nick}${a}"
|
send_message 0"${nick}${a}"
|
||||||
;;
|
;;
|
||||||
|
L)
|
||||||
|
length="$(get_message 1)"
|
||||||
|
;;
|
||||||
l)
|
l)
|
||||||
echo "${length}"
|
echo "${length}"
|
||||||
;;
|
;;
|
||||||
@ -101,7 +104,7 @@ while :; do
|
|||||||
oldlength="${length}"
|
oldlength="${length}"
|
||||||
while :; do
|
while :; do
|
||||||
length="$(get_message 1)"
|
length="$(get_message 1)"
|
||||||
if [ "${oldlength}" -lt "${length}" ]; then
|
if [ "${oldlength}" -ne "${length}" ]; then
|
||||||
break
|
break
|
||||||
fi
|
fi
|
||||||
echo -n .
|
echo -n .
|
||||||
|
Loading…
Reference in New Issue
Block a user