Re: Code

From: Kras Kresh (kras_kresh@hotmail.com)
Date: 04/05/02


>From: SoulReaper Is here <death_comes_to_all@HOTMAIL.COM>
>Subject: [CIRCLE] Code
>Date: Fri, 5 Apr 2002 22:59:11 +0200
>
>How do i change the autoexits so that it shows even closed doors but with a
># in front of the exit?
>

I am guessing that you want it for autoexits and the exit command,
but I'm just going to give you autoexits. You should be able to figure out
do_exits and should customize it yourself.

autoexits:
  for (door = 0; door < NUM_OF_DIRS; door++)
    if (EXIT(ch, door) && EXIT(ch, door)->to_room != NOWHERE)
      sprintf(buf + strlen(buf), " %s%s ",
        IS_SET(EXIT(ch, door)->exit_info, EX_CLOSED) ? "#" : "",
        dirs[door]);


_________________________________________________________________
Join the world’s largest e-mail service with MSN Hotmail.
http://www.hotmail.com

--
   +---------------------------------------------------------------+
   | FAQ: http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html |
   | Archives: http://post.queensu.ca/listserv/wwwarch/circle.html |
   | Newbie List:  http://groups.yahoo.com/group/circle-newbies/   |
   +---------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 06/25/03 PDT