Re: [CODE] Getting the special procedure active in a room

From: Daniel Koepke (
Date: 01/12/97

On Fri, 10 Jan 1997, Brian Menges wrote:

> Is there any way to tell if a particular special procedure is active
> in a room.  I know 'if(GET_ROOM_SPEC(room) != NULL)' will tell if there
> is a special procedure in the room, but how would I find out which
> one?  Here is my problem:  I have stables on my mud where players
> can store their mounts when they rent.  I am trying to add in crash
> protection for the mounts as well becuase they tend to be a sizeable
> investment.  Because of the way I store the mount information I don't
> want to crash load a mount if the room the mount was last in was a
> room with my stable special procedure.  I hope that makes sense.
> What I want to do is make a check and see if the stable special
> procedure is set on the room before I load the mount.  Any ideas
> on how I can do that?

  if (GET_ROOM_SPEC(room) == function) {


Daniel Koepke
Forgive me father, for I am sin.

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

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