home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Devil's Doorknob BBS Capture (1996-2003)
/
devilsdoorknobbbscapture1996-2003.iso
/
Dloads
/
WWIVMODS
/
MODSUNKN.ZIP
/
FEEDY.C
< prev
next >
Wrap
Text File
|
1990-09-22
|
3KB
|
121 lines
/*This is the mutliple Feedback mod for feed back to multiple people...Change
the names of course.
I would also suggest that you make this another file entirely and add it to
the end of bbs.prj as
feedy.c (fcns.h, vardec.h)
Also to the end of your fcns.h file add the line
void feedy()*/
#include "vardec.h"
#include "fcns.h"
#include <fcntl.h>
#include <io.h>
#include <sys\stat.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
#include <dos.h>
#include <alloc.h>
#include <stdio.h>
#include <mem.h>
#include "net.h"
extern subboardrec subboards[32];
extern usersubrec usub[32];
extern int cursub,express,expressabort,topline,topdata;
extern int curlsub,nummsgs,helpl;
extern postrec *msgs;
extern configrec syscfg;
extern int bchanged;
extern userrec thisuser;
extern int hangup,incom;
extern int usernum,useron,screenbottom;
extern statusrec status;
extern char irt[81],cdir[81],net_email_name[81];
extern messagerec menus[30],menus1[30],menus2[30];
extern int fwaiting,fsenttoday,msgreadlogon,wfc,mailcheck,numed;
extern editorrec *editors,*backuped;
extern short gat[2048];
extern char gatfn[81],charbuffer[161];
extern int use_workspace,charbufferpointer;
extern int checked[50];
extern net_system_list_rec *csn;
extern int num_sys_list;
#define ALLOW_FULLSCREEN 1
#define EMAIL_STORAGE 2
void feedy()
{
char ch;
outchr(12);
prt(2," Weasel's Hole BBS Multiple Feedback");
nl();
prt(7,"════════════════════════════════════════════════════════════════════════");
nl();
nl();
nl();
nl();
prt(1,"Send Feedback to whom: ");
nl();
prt(4,"1) Weasel #1");
nl();
printf("2) Black Knight #4");
nl();
printf("3) Elroy Cohen #9");
nl();
printf("(Q) quit back to bbs");
nl();
nl();
prt(1,"()Enter choice (>");
ch=onek("123Q");
switch(ch) {
case '1':
email(1,0,0,0);
break;
case '2':
email (4,0,0,0); /*change 4 to co-sysops number*/
break;
case '3':
email(9,0,0,0); /*change 9 to co-sysops number*/
break;
case 'Q':
break;
default:
printf("Bad Choice!");
break;
}
}
/*and in bbs.c do the following:
search for case 'F' in void mainmenu().
change the line that says email(1,0,0,0) to feedy();
thne you can recompile*/
/*****Disclaimer******/
/* NOTHING CAN BE BLAMED on me if you use this mod. I didn't ask you to.*/
/*if you like this mod well hmm...go ahead and like it...*/
/*if you want to send me money because I have none and you want me to
make a few more mods
my address is:
6 Cool Spring Ct.
Lutherville MD 21093
after this call my bbs
Weasels' Hole -(301)823-8022 thanks I hope you enjoyed this
litle quick mod*/