Newsgroups: rec.arts.int-fiction
Path: nntp.gmd.de!news.ruhr-uni-bochum.de!news.uni-stuttgart.de!uni-regensburg.de!lrz-muenchen.de!informatik.tu-muenchen.de!Germany.EU.net!howland.reston.ans.net!psinntp!psinntp!psinntp!uknet!newsfeed.ed.ac.uk!dcs.ed.ac.uk!flugga.dcs.ed.ac.uk!mc
From: mc@dcs.ed.ac.uk (Maynard Case)
Subject: [Inform] Diary
X-Nntp-Posting-Host: flugga.dcs.ed.ac.uk
Message-ID: <DqBMqn.D7.0.staffin.dcs.ed.ac.uk@dcs.ed.ac.uk>
Sender: mc@flugga.dcs.ed.ac.uk (Maynard Case)
Organization: Department of Computer Science, University of Edinburgh
X-Newsreader: xrn 8.00
Date: Tue, 23 Apr 1996 15:23:08 GMT
Lines: 30

I (rather stupidly) thought that a diary belonging to one of the main NPCs would be a
nice thing to add to a game. 
Unfortunately, I'm having great difficulties with the consult action. I'd like it to
be able to parse sentences like:

         look up 14th February in diary
	 look up 22nd Nov in diary
	 look up 14/2/96 in diary

I'd also like it (irritatingly, but accurately) to be able to throw out wrong 
dates such as:
         
	 >look up 35th December in diary
	 That date doesn't exist.
	
Currently it can only cope with 
         look up 14 February in diary

If anyone could help me with this, preferably with fairly explicit code or very
unsubtle hints, I'd be greatly appreciative.

Maynard       

-- 
 ___ ___  ___
| . V , |/ __}  Maynard Case   1st Year Undergraduate Edinburgh University
| |\ /| | /     mc@dcs.ed.ac.uk  ------------------ Voice: (0131) 667 6950
| | V | | \__   "What're quantum mechanics?"       "I don't know... people
|/     \|\___}  who repair quantums, I suppose." Terry Pratchett, Pyramids

