// thus on Wed, 17 Dec 1997 13:17:32 -0500, StormeRider virtually wrote: Angus> interesting, now just to strap an OASIS front end to it. (impl only) Angus> probably would go a long way to balancing imm commands. (that or Angus> group the commands into permission sets and set the right bits on Angus> the imms) Me> ObCircle: anyone intrested in a bpl12 version of command_interpreter Me> that's read in from an ASCII file, and allows commands to be Me> enabled/disabled at runtime? StormeRider> Anyone considered making a standard patch out of the trust StormeRider> system and integrating command disabling? Is one of the things StormeRider> I have on my plate to do sometime and interested in the StormeRider> general opinion. Trust system? Haven't been too much into that. One of the things I've worked on with an offshoot of bpl11 has been reorganizing zone controls to specific people via access control lists. Kinda like giving immortals read, write or both methods of access to specific people (this information is saved into the zone file). You can enable/disable or change the minimum level for commands (disabling a command is basically setting the min-level to -1). All commands are kept in an ascii file format, and read from this file upon boot. I'll need to modify it some for stock bpl12, since it requires more than just changes to command_interpreter(), also since I totally removed the idea of subcommands from version I'm playing with, it'll require some tweaks there as well. File format is: <command name> <min position> <minimum level> <command index> <sub command> Whitespace is unimportant, comments are denoted by "#", comments can be anywhere on the line. Valid lines are only those with 5 arguments. Since you can't store function pointers, =) the <command index> is just the number of that command in a master array. d. +------------------------------------------------------------+ | 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/08/00 PST