Re: [newbie coding] capturing say's

Date: 07/14/97

> I have been looking at this problem for a bit and don't see an answer.
> What I want to do is when a charcter says a perticular word in a room, I
> want to capture that and execute a set of commands.  For example:
> Standing Before an Alter to Fizban.
> Doorknob says 'Fizban'
> *Click*
> The alter opens

Probably the best way to run this is use a SPEC_PROC for the room.  With
this you can trap the command and do what you want with it before it runs
through the interpreter fully.  Check out some of the source code in
spec_procs.c for the guilds and such...


      | Ensure that you have read the CircleMUD Mailing List FAQ: |
      |   |

This archive was generated by hypermail 2b30 : 12/08/00 PST