The New Adventure Shell is a shell script that
will make your Un*x shell act like a text adventure
game. It is similar to the mud-shell (available on http://www.xirium.com/tech/mud-shell/)
which has been written in perl. This script however is written in
ksh/bash/zsh.
The script is intended to pose as little restrictions on the normal use of the shell as possible, while allowing as many adventure commands as possible, and is written for maximum portability to other Unices.
|
|
Running the script No libraries or modules are needed to run the script; start it with: . nadvshFor more documentation, see the manual page. Portability: Tested on:
New features until 1.85.3:
New features until 1.80.5:
New features until 1.79.4:
New features until 1.74.1:
New features until 1.71.9:
The inspiration for this script has come from some of the original adventure/mud-shells:
|
/home/rene$ . nadvsh Welcome to the new adventure shell. Use the commands 'play' and 'noplay' to start/stop playing. You are in a nice room with a green carpet and a bed on one side of the room. There is a desk with a computer at one wall, and across the room, there is a cupboard with linguistic books and fantasy games. Anson the hobbit enters. Anson the hobbit asks: "You don't happen to have anything to eat?"
You are in in Rene's room. (/home/rene)
You are in the Unix users' home. (/home)
You are in the Unix users' home. (/home)
You are in /home/webuser
You are in /home/webuser
You are in /home/webuser
You are in /home/webuser
You are in /home/webuser
You are in /home/webuser
You are in a laboratory. (/home/rene/nadvsh)
You are in /home/michel
You are in /home/michel |