Re: triggers not saving

From: Stephen Wolfe (siv@CYBERENET.NET)
Date: 06/28/98


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

siv


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