Re: triggers not saving

From: Mark A. Heilpern (heilpern@MINDSPRING.COM)
Date: 06/28/98


At 12:05 PM 6/28/98 -0400, you wrote:
>> >.  When I  tried tedit save 12, it told me that  it forgot what I wanted
>> >to save (ie, it didnt want to)
>
>this may actually have something to with do_olc not having a type case for
>trigedit..look at do_olc, the part that looks like this:
>
>    switch (subcmd) {
>      case SCMD_OLC_HEDIT: type = "help"; break;
>      case SCMD_OLC_REDIT: type = "room"; break;
>      case SCMD_OLC_ZEDIT: type = "zone"; break;
>      case SCMD_OLC_SEDIT: type = "shop"; break;
>      case SCMD_OLC_MEDIT: type = "mobile"; break;
>      case SCMD_OLC_OEDIT: type = "object"; break;
>    }
>      if (!type) {
>        send_to_char("Oops, I forgot what you wanted to save.\r\n", ch);
>      return;
>      }
>
>make sure that you have a case for trigedit in there..

No trigedit case is needed here because there is no "trigedit save"
command. Instead, triggers are automatically saved when you get
out of trigedit.


     +------------------------------------------------------------+
     | 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