home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Devil's Doorknob BBS Capture (1996-2003)
/
devilsdoorknobbbscapture1996-2003.iso
/
WWIV2.ZIP
/
GILQUO.MOD
< prev
next >
Wrap
Text File
|
1995-01-24
|
2KB
|
69 lines
void scan(int msgnum, int optype, int *nextsub)
{
case 'A':
if(okfsed()){
prt(5,"Quote message? ");
if(yn()) {
b=readfile(&(msgs[msgnum].msg),(subboards[curlsub].filename),&len);
quote_out(b,len, msgs[msgnum].title);
nl();
strcpy(s, "C:\\WWIV\\GFILES\\QUOTE");
if (s[0]) {
nl();
load_workspace(s,0);
}
}
}
if ((msgs[msgnum].ownersys) && (!msgs[msgnum].owneruser))
grab_user_name(&(msgs[msgnum].msg),subboards[curlsub].filename);
break;
}
}
break;
case 'W':
if (s[0]=='W') {
if(okfsed()){
prt(5,"Quote message? ");
if(yn()) {
b=readfile(&(msgs[msgnum].msg),(subboards[curlsub].filename),&len);
quote_out(b,len, msgs[msgnum].title);
nl();
strcpy(s, "C:\\WWIV\\GFILES\\QUOTE");
if (s[0]) {
nl();
load_workspace(s,0);
}
}
}}
deleted_flag=0;
grab_quotes(&(msgs[msgnum].msg),subboards[curlsub].filename);
post();
if (deleted_flag && (deleted_flag<=msgnum))
--msgnum;
grab_quotes(NULL, NULL);
break;
void readmail(void)
{
case 'A':
case 'S':
if (!okmail)
break;
if(okfsed()){
prt(5,"Quote message? ");
if(yn()) {
b=readfile(&(m.msg),"EMAIL",&len);
quote_out(b,len,m.title);
nl();
strcpy(s, "C:\\WWIV\\GFILES\\QUOTE");
if (s[0]) {
nl();
load_workspace(s,0);
}
}
}
close(f);
num_mail=((long) thisuser.feedbacksent) +
((long) thisuser.emailsent) +
((long) thisuser.emailnet);