Newsgroups: rec.arts.int-fiction
Subject: Re: TADS: Trapping Wait
From: gdighton@geocities.com (Garth Dighton)
References: <94pp7j$plu$1@nnrp1.deja.com>
User-Agent: Xnews/03.04.11
X-no-productlinks: yes
NNTP-Posting-Host: goliath2
Message-ID: <3a7076d8$1_1@goliath2.newsfeeds.com>
Date: 25 Jan 2001 12:56:24 -0600
Lines: 35
X-Authenticated-User: gdighton@geocities.com
X-Comments: This message was posted through Newsfeeds.com
X-Comments2: IMPORTANT: Newsfeeds.com does not condone, nor support,  spam or any illegal or copyrighted postings.
X-Comments3: IMPORTANT: Under NO circumstances will postings containing illegal or copyrighted material through this service be tolerated!!
X-Report: Please report illegal or inappropriate use to <abuse@newsfeeds.com> You may also use our online abuse reporting from: http://www.newsfeeds.com/abuseform.htm
X-Abuse-Info: Please be sure to forward a copy of ALL headers, INCLUDING the body (DO NOT SEND ATTACHMENTS)
Organization: Newsfeeds.com http://www.newsfeeds.com 73,000+ UNCENSORED Newsgroups.
Path: news.duke.edu!newsgate.duke.edu!nntp-out.monmouth.com!newspeer.monmouth.com!news.maxwell.syr.edu!telocity-west!TELOCITY!local-out2.newsfeeds.com!newsfeeds.com!goliath2.newsfeeds.com!newsfeeds.com!g2!anonymous!g2
Xref: news.duke.edu rec.arts.int-fiction:82581

"Wait" doesn't take an object, so of course you can't trap it that way -
override the roomAction(a,v,d,p,i) function instead (checking that v ==
waitVerb).

jim_bayers@my-deja.com wrote in <94pp7j$plu$1@nnrp1.deja.com>:

>I need to override the 'wait' verb.  I tried putting it in the room
>definition but that doesn't work.  Can it be done?
>
>I can probably work around it.
>
>===========================
>
>startroom: room
>    sdesc = "Rest Room\b"
>    ldesc = "This is the dingy but clean bathroom of the Odduck Diner.
>It has the typical fixtures: sink, mirror and toilet.  A door to the
>south leads to the diner.
>     << faucet.isActive ? "\n\tWater is running in the sink.  " : ""
>>>"
>     south = restroomDoor1
>     verDoWait(actor) = {}
>     doWait(actor) = {
>          "Wait stuff ";
>     }
>;
>

--
Garth Dighton


-----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
-----==  Over 80,000 Newsgroups - 16 Different Servers! =-----
