view bin/mailcluecheck @ 6:8c6d5731234d

First entry of Paradise Server 2.9 patch 10 Beta
author darius
date Sat, 06 Dec 1997 04:37:04 +0000
parents 4d6502ffaa5e
children
line wrap: on
line source

#!/bin/sh
#
# Called when a player is ejected. (If the MAIL_CLUELETTER option is set
# in config.h)
#

EJECTLETTER="lib/eject.letter"
HOST=`hostname`
echo $1@$2 >> ${NETREKDIR}/logs/eject.log
mailx -s'You were ejected from Netrek at ${HOST}' $1@$2 < ${NETREKDIR}/${EJECTLETTER}