put the toggles in config.c and support all the questions that are bound to be
asked :) just don't you #defines. This would make the code a bit ugly.
config.c is much more elegant.
Go you!
--Angus
______________________________ Reply Separator _________________________________
Subject: Snippets (a whole bunch of em)
Author: INTERNET:CIRCLE@POST.QUEENSU.CA at CSERVE
Date: 8/21/98 3:28 PM
There are so many idea's and features (patches) available
that I was wondering if anyone has thought about making a patch
to include most of the patches available. After all the patches are
installed, a toggle feature can be made to turn on or off certain
functions?
Is this too far fetched?
For example,
AFK
Autoassist
autodiagnose
autoexit
autoloot/split
and so on,
maybe using stuff like
#if TOG_AUTOASS
/* add code here */
#endif
Somewhere maybe store variables so that they can be turned on/off via
a imp command? Or set defaults in code and changeable via online imp command?
It would allow for anyone starting a new mud to install all of them
and turn on the functions he/she wishes.
+------------------------------------------------------------+
| Ensure that you have read the CircleMUD Mailing List FAQ: |
| http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |
+------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 12/15/00 PST