annotate bin/mailcluecheck @ 20:9f180bf494bd default tip

Made torps and fighter wobbly. They have a chance of tracking randomly instead of staying straight or seeking if in nebulous terrain. Option is turned on when NEBULA_EFFECT contains PHOTON and/or FIGHTER.
author darius
date Wed, 24 Dec 1997 12:42:09 +0000
parents 4d6502ffaa5e
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1
4d6502ffaa5e Initial revision
darius
parents:
diff changeset
1 #!/bin/sh
4d6502ffaa5e Initial revision
darius
parents:
diff changeset
2 #
4d6502ffaa5e Initial revision
darius
parents:
diff changeset
3 # Called when a player is ejected. (If the MAIL_CLUELETTER option is set
4d6502ffaa5e Initial revision
darius
parents:
diff changeset
4 # in config.h)
4d6502ffaa5e Initial revision
darius
parents:
diff changeset
5 #
4d6502ffaa5e Initial revision
darius
parents:
diff changeset
6
4d6502ffaa5e Initial revision
darius
parents:
diff changeset
7 EJECTLETTER="lib/eject.letter"
4d6502ffaa5e Initial revision
darius
parents:
diff changeset
8 HOST=`hostname`
4d6502ffaa5e Initial revision
darius
parents:
diff changeset
9 echo $1@$2 >> ${NETREKDIR}/logs/eject.log
4d6502ffaa5e Initial revision
darius
parents:
diff changeset
10 mailx -s'You were ejected from Netrek at ${HOST}' $1@$2 < ${NETREKDIR}/${EJECTLETTER}