Message-ID: <3D5510C1.5070800@csi.com>
Date: Sat, 10 Aug 2002 09:10:25 -0400
From: John Colagioia <JColagioia@csi.com>
User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.0rc2) Gecko/20020618 Netscape/7.0b1
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: rec.arts.int-fiction
Subject: Re: [Inform] Intercepting yes/no, or a cry for additive react_before
References: <uu1m4xpdg.fsf@empolis.no>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: ool-182f30fa.dyn.optonline.net
X-Original-NNTP-Posting-Host: ool-182f30fa.dyn.optonline.net
X-Trace: excalibur.gbmtech.net 1028984536 ool-182f30fa.dyn.optonline.net (10 Aug 2002 09:02:16 -0400)
Organization: ProNet USA Inc.
Lines: 13
X-Authenticated-User: jnc
Path: news.duke.edu!newsgate.duke.edu!news-hog.berkeley.edu!ucberkeley!cyclone.bc.net!arclight.uoregon.edu!news.tufts.edu!uunet!dca.uu.net!excalibur.gbmtech.net
Xref: news.duke.edu rec.arts.int-fiction:107268

Espen Wiborg wrote:
[...]
> However, one of these will also ask the player a question with a
> yes/no answer, and I'd like the player to be able to type 'yes' or
> 'no', as well as 'say yes to policeman' etc.  This should only happen
> the turn after the question is asked.

Have a gander at L. Ross Raszewski's yesno.h in the library
contributions section on the archive.  It should be easily adaptable
to what you're planning.

[...]

