Re: [CODE] [SNIPPET IF REQUESTED] autowiz command

From: Acido (
Date: 02/10/99

At 02:32 AM 2/11/99 +1000, you wrote:
>Since I use a Win95 mud, I needed to use autowiz manually when I "set
>file level" or "set level" someone.  With the Autowiz Win95 patch that
>auto initiates autowiz when someone has "advanced" the other, it gives
>some of the Unixy flavours.
>Anyhow, here's my ACMD(do_autowiz) for those interested:
>  extern int min_wizlist_lev;
>  void reboot_wizlists(void);
>  sprintf(buf,"autowiz %d c:/CIRCLE/lib/%s %d c:/CIRCLE/lib/%s", \
>        min_wizlist_lev, WIZLIST_FILE, LVL_IMMORT, IMMLIST_FILE);
>  mudlog("Signal received - rereading wizlists.", CMP, LVL_IMMORT, TRUE);
>  system(buf);
>  reboot_wizlists();
>A "force all save" is required to update pfile etc before running this.

Why not make a check_autowiz(); in do_set and change do_autowiz to void

     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     |  |

This archive was generated by hypermail 2b30 : 12/15/00 PST