annotate bin/mailcluecheck @ 13:ed82a42ba89d

Added code to cause missiles, fighters and plasmas to get confused in nebulous terrain. If it gets confused then it picks a random direction to go.
author darius
date Sat, 06 Dec 1997 06:27:03 +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}