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 |
|
rev |
line source |
1
|
1 #!/bin/sh
|
|
2 #
|
|
3 # Called when a player is ejected. (If the MAIL_CLUELETTER option is set
|
|
4 # in config.h)
|
|
5 #
|
|
6
|
|
7 EJECTLETTER="lib/eject.letter"
|
|
8 HOST=`hostname`
|
|
9 echo $1@$2 >> ${NETREKDIR}/logs/eject.log
|
|
10 mailx -s'You were ejected from Netrek at ${HOST}' $1@$2 < ${NETREKDIR}/${EJECTLETTER}
|