Newsgroups: rec.arts.int-fiction
Path: nntp.gmd.de!stern.fokus.gmd.de!zib-berlin.de!irz401!news.tu-chemnitz.de!fauern!cs.tu-berlin.de!informatik.uni-bremen.de!gina.zfn.uni-bremen.de!news.dfn.de!Germany.EU.net!EU.net!news.sprintlink.net!howland.reston.ans.net!vixen.cso.uiuc.edu!usenet.ucs.indiana.edu!news.cs.indiana.edu!shulick@guava.ucs.indiana.edu
From: "Sam Hulick" <shulick@guava.ucs.indiana.edu>
Subject: Inform: Question about <<x>> syntax
Message-ID: <1995Sep27.205521.13877@news.cs.indiana.edu>
Organization: Vallen Software
Date: Wed, 27 Sep 1995 20:55:14 -0500
Lines: 22


The <<Action noun>> syntax is pretty simple.. but what about a case like
this: I have a fountain with some water inside of it.  There's an object
(say, a gold coin) inside the water, NOT the fountain.   So if a person
says "get all from fountain", I want it to act as if they typed "get all
from water" instead.  I tried this:

 Object fountain ...
   with before [;
         Remove: <<Remove inp1 fou_water>>;
       ].....

But it doesn't work correctly.  How can I fix it so if they do "get X
from fountain", it will do "get X from water" instead?  (where 'X' is
"all" or one or more nouns).
 Thanks!

-- 
--- Sam Hulick ------------- shulick@indiana.edu ---------------------
Systems Consultant        | Homepage:
Indiana College Placement |    http://copper.ucs.indiana.edu/~shulick/
  and Assessment Center   | PGP public key available on request
