Re: [IDEA] Global on/off values

From: George Greer (greerga@circlemud.org)
Date: 01/09/01


On Tue, 9 Jan 2001, Daniel A. Koepke wrote:

>Absolutely none.  You might try repeating that in English.

Que?

>You appear to want a command that may be enabled by an immortal, which
>does something (I have no idea what).  So, how about:

[...snippie...]

>Insert the command in the command table as per usual.  Greater gods and
>above will then be able to use 'whatever on' to turn the command on, and
>'whatever off' to turn the command off.  When the command is off, the only
>people that can use it are greater gods and above.  When on, anyone can
>use it (but only greater gods and above can turn it on/off).

How about ACMD(do_gen_tog) at the bottom of act.other.c?

It handles 'slowdns' and 'trackthru' which are global.

--
George Greer            | If it's about the CircleMUD mailing list,
greerga@circlemud.org   | mail owner-circle@post.queensu.ca instead.

--
   +---------------------------------------------------------------+
   | FAQ: http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html |
   | Archives: http://post.queensu.ca/listserv/wwwarch/circle.html |
   +---------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/03/01 PST