home *** CD-ROM | disk | FTP | other *** search
- :
- # $Id: lchat,v 1.2 90/10/26 22:53:50 darcy Exp $
- # This script calls chat with some arguments. Set LOGFILE equal to
- # a log file to capture your session to. Set REALNAME to the name
- # to display on the output.
-
- # If a user's name is entered, chat is called via chatyell which
- # sends a message to the named user to run chat before running chat.
-
- LOGFILE=/usr/darcy/chat.log
- REALNAME="D'Arcy"
-
- echo "\n`date`" >> $LOGFILE
-
- if [ $# = 0 ]
- then
- chat -n $REALNAME -f $LOGFILE
- else
- chatyell $1 -n $REALNAME -f $LOGFILE $2 $3 $4 $5
- fi
-
-