example: clean up the bot script

pull/1/head
Michael Santos 9 years ago
parent 16ec036134
commit c4499fa4df

@ -29,14 +29,10 @@ bot() {
OFS=$IFS
IFS=:
set -- $line
if [ "$#" -ne "4" ]; then
continue
fi
if [ "$1" = "p" ]; then
decode "$line" 1>&2
echo 1>&2
fi
if [ "$1" = "m" ]; then
elif [ "$1" = "m" ]; then
USER="$(decode ${3#*%2F})"
IFS=$OFS
MSG="$(decode $4)"

Loading…
Cancel
Save