extsay-ng/extsay.sh
changeset 28 1183c1f11a68
parent 27 4f1cbafb569c
child 32 1867a9047524
equal deleted inserted replaced
27:4f1cbafb569c 28:1183c1f11a68
    40 # This will not work if the editor runs in the background!
    40 # This will not work if the editor runs in the background!
    41 $editor $tf
    41 $editor $tf
    42 
    42 
    43 # Send the message using MCabber's pipe
    43 # Send the message using MCabber's pipe
    44 if [ -s $tf ]; then
    44 if [ -s $tf ]; then
    45     cmd="say_to -f $tf $jid"
    45     cmd="say_to -q -f $tf $jid"
    46 else
    46 else
    47     cmd="echo [extsay] The file has not been modified.  Message cancelled."
    47     cmd="echo [extsay] The file has not been modified.  Message cancelled."
    48 fi
    48 fi
    49 echo $cmd >> $FIFOPATH
    49 echo $cmd >> $FIFOPATH
    50 
    50