Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

I7: Single-Keyword Conversations using Eric Eve's Conversation Package

1 view
Skip to first unread message

mwigdahl

unread,
Dec 23, 2009, 10:52:18 AM12/23/09
to
My next article is up. It builds off of the highlighted topic list
from the last post and adds single-keyword implicit conversation on
top of Conversation Package.

http://www.wigdahl.net/quern/2009/12/23/inform-7-development-implementing-single-keyword-conversations/

Matt

Eric Eve

unread,
Dec 24, 2009, 10:53:44 AM12/24/09
to

"mwigdahl" <ma...@wigdahl.net> wrote in message
news:d2c83b6a-35e3-4c47...@k19g2000yqc.googlegroups.com...
I think you sent me an email asking me about constructs like:

Response of whomever when asked about whatever for the second time.

Unfortunately I've been unable to get back to check what the email asked or
respond to it since our University's email server has been down since last
night and won't now be repaired until next week. But if you were asking what
I think you were asking, the answer is that I never envisaged varying
conversational responses in this manner. Instead I'd either use "[one of]
... [or] ... [or] ... [stopping]" constructions, or else use List Control or
List Controller. E.g.

Response of Jack when asked about Jill:
say "[one of]'She went up the hill with me to fetch a bucket of water,' he
replies.[or]'Well, we had a bit of an accident at the top of the hill,' Jack
tells you.[or]'We slipped and fell, which is why I've ended up in hospital
with a head injury,' he says.[or]'Let's not talk about Jill any more,' he
pleads, 'my head hurts!'[stopping]"

If you need a set of responses that won't fit into Informs "[one] .. [or]
... [stopping]" structure, then my List Control or List Controller extension
should be able to cope with it, e.g:

Response of Jack when asked about Jill:
show the next response from the jill-list, with newlines.

jill-list is a stopping list controller.
The associated list is the Table of Jill Responses.

Table of Jill Responses
response
"'She went up the hill with me to fetch a bucket of water,' he replies."
"'Well, we had a bit of an accident at the top of the hill,' Jack tells
you."
"We slipped and fell, which is why I've ended up in hospital with a head
injury,' he says."
"'Let's not talk about Jill any more,' he pleads, 'my head
hurts!'[stopping]"

-- Eric

mwigdahl

unread,
Dec 24, 2009, 2:57:40 PM12/24/09
to
On Dec 24, 9:53 am, "Eric Eve" <eric....@hmc.ox.ac.uk> wrote:
> "mwigdahl" <m...@wigdahl.net> wrote in message

>
> news:d2c83b6a-35e3-4c47...@k19g2000yqc.googlegroups.com...> My next article is up.  It builds off of the highlighted topic list
> > from the last post and adds single-keyword implicit conversation on
> > top of Conversation Package.
>
> >http://www.wigdahl.net/quern/2009/12/23/inform-7-development-implemen...

Yep, that was it. To recap, using "Response of whomever when asked
about whatever for the first/second time" etc. _almost_ works.

The first time through it fires on the "first time" rule as you'd
expect. The second time through it falls through to the default. The
third time it fires the "second time" rule, and so forth.

I found multiple workarounds to make similar behavior work, and yours
provide two more. Thanks!

Matt

0 new messages