Re: "Autoexits" and "Autocolor"

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


>From: Zeus <zeus.net@terra.com.br>
>Date: Wed, 27 Feb 2002 22:13:42 -0300
>
>How do I do to activate "Autoexits" and "Autocolor" how pattern for all the
>players in CircleMud?

Either make a program or a function that reads and writes back to the player
file with the changes. If you do a function, you should do it during bootup.

The above simply changes it for the currently existing players.
To make it so that new characters get the autoexits and color,
in function:

void do_start(struct char_data * ch);

add this:
SET_BIT(PRF_FLAGS(ch), PRF_COLOR_1 | PRF_COLOR_2 | PRF_AUTOEXIT);

_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp.

--
   +---------------------------------------------------------------+
   | 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