Wizupdate command by Cathy Gore Little note: For use with autowiz system, Tested on a CircleMUD 3.0 bpl 17. Autowiz is fine and dandy, and works wonders... until you need to demote an imm, or get rid of a test character that you'd advanced to an imm level. Autowiz as it is doesn't check for demotions.... and it's a pain to go edit those files.... So I decided to take advantage of a function that already exists (check_autowiz), and turn it into a nice little command for us imms to use. Here's the snippet: -------------------------------------- At the top of act.wizard.c, where the external functions are declared, add: void check_autowiz(struct char_data * ch); Where the internal functions and commands are declared, add: ACMD(do_wizupdate); now, somewhere in the file drop in this tiny little function: /* feel free to change the level... */ ACMD(do_wizupdate) { if (GET_LEVEL(ch) < LVL_IMMORT) send_to_char ("You are not holy enough to use this privelege.\n\r", ch); else { check_autowiz(ch); send_to_char("Wizlists updated.\n\r", ch); } } Save and close act.wizard.c. ------------- In interpreter.c, add to the list of external commands: ACMD(do_wizupdate); and to the Master command list, add with the w's: { "wizupdate" , POS_DEAD , do_wizupdate , LVL_IMMORT, 0}, Save and close interpreter.c. -------------------------------------- And that's it! Recompile and reboot, and update! As per the standard disclaimer, I am not responsible if this messes up your mud. Always backup any file that is changed before adding any snippet. But you knew that already. And as usual, if you have any problems or find a way to make this better, email me at cheron98@hotmail.com. If you use this, please email me. I don't care if you put me in the credits or not, I'd just like to know who's usin it. Thanks to Daniel for the grammar notice :) Other snippets by me: Look for my score and saveall snippets on the CircleMUD ftp site! Cathy Gore aka Cheron, DarkonMUD