home *** CD-ROM | disk | FTP | other *** search
/ The Devil's Doorknob BBS Capture (1996-2003) / devilsdoorknobbbscapture1996-2003.iso / WWIV2.ZIP / GILQUO.MOD < prev    next >
Text File  |  1995-01-24  |  2KB  |  69 lines

  1. void scan(int msgnum, int optype, int *nextsub)
  2. {
  3.    case 'A':
  4.     if(okfsed()){
  5.      prt(5,"Quote message? ");
  6.      if(yn()) {
  7.       b=readfile(&(msgs[msgnum].msg),(subboards[curlsub].filename),&len);
  8.       quote_out(b,len, msgs[msgnum].title);
  9.       nl();
  10.       strcpy(s, "C:\\WWIV\\GFILES\\QUOTE");
  11.       if (s[0]) {
  12.        nl();
  13.        load_workspace(s,0);
  14.       }
  15.      }
  16.     }
  17.     if ((msgs[msgnum].ownersys) && (!msgs[msgnum].owneruser))
  18.      grab_user_name(&(msgs[msgnum].msg),subboards[curlsub].filename);
  19.     break;
  20.     }
  21.    }
  22.   break;
  23.   case 'W':
  24.    if (s[0]=='W') {
  25.     if(okfsed()){
  26.      prt(5,"Quote message? ");
  27.       if(yn()) {
  28.        b=readfile(&(msgs[msgnum].msg),(subboards[curlsub].filename),&len);
  29.        quote_out(b,len, msgs[msgnum].title);
  30.        nl();
  31.        strcpy(s, "C:\\WWIV\\GFILES\\QUOTE");
  32.        if (s[0]) {
  33.     nl();
  34.     load_workspace(s,0);
  35.        }
  36.       }
  37.      }}
  38.    deleted_flag=0;
  39.    grab_quotes(&(msgs[msgnum].msg),subboards[curlsub].filename);
  40.    post();
  41.    if (deleted_flag && (deleted_flag<=msgnum))
  42.     --msgnum;
  43.     grab_quotes(NULL, NULL);
  44.    break;
  45.  
  46. void readmail(void)
  47. {
  48.   case 'A':
  49.   case 'S':
  50.    if (!okmail)
  51.     break;
  52.    if(okfsed()){
  53.     prt(5,"Quote message? ");
  54.     if(yn()) {
  55.      b=readfile(&(m.msg),"EMAIL",&len);
  56.      quote_out(b,len,m.title);
  57.      nl();
  58.      strcpy(s, "C:\\WWIV\\GFILES\\QUOTE");
  59.      if (s[0]) {
  60.       nl();
  61.       load_workspace(s,0);
  62.      }
  63.     }
  64.    }
  65.    close(f);
  66.    num_mail=((long) thisuser.feedbacksent) +
  67.         ((long) thisuser.emailsent) +
  68.         ((long) thisuser.emailnet);
  69.