home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Devil's Doorknob BBS Capture (1996-2003)
/
devilsdoorknobbbscapture1996-2003.iso
/
Dloads
/
SYSOP
/
MODS1.ZIP
/
DOA-01.MOD
< prev
next >
Wrap
Text File
|
1996-11-21
|
4KB
|
161 lines
╒═════════════════════════════════════════════════════════╕
│ File Name: DOA-01.MOD │
│ │
│ Description: Asks the user if he/she has been posting. │
│ It uses their name in it which helps to get their │
│ attention. │
│ │
│ Version: WWIV 4.24 │
│ │
│ Difficulty: █▒▒▒▒▒▒▒▒▒ (1/10) │
│ │
│ Files Affected: MISCCMD.C / MMENU.C │
│ │
│ Author: John Doa of Area Fifty-One (410)-319-9245 │
╘═════════════════════════════════════════════════════════╛
■ Extended Description ■
There is another mod out there like this one,
I saw it and it gave me the idea, so I added to
it...
╒═[Legend]═══════════╕
│ = existing line │
│ + add this line │
│ - delete this line │
│ * modify this line │
╘════════════════════╛
──────────────────────────────────────────────────────────────────────────────
■ Step One ■
──────────────────────────────────────────────────────────────────────────────
BACK UP YOUR SOURCE!!!
...you really dont have to unless you STUPID!
──────────────────────────────────────────────────────────────────────────────
■ Step Two ■
──────────────────────────────────────────────────────────────────────────────
Load MISCCMD.C
Copy this to the end of MISCCMD.C
/* DOA-01.MOD */
void remind(void)
{
nl();
npr("9Have you been posting, 7%s9?",thisuser.name);
nl();
}
/* DOA-01.MOD */
Save MISCCMD.C
Close MISCCMD.C
──────────────────────────────────────────────────────────────────────────────
■ Step Three ■
──────────────────────────────────────────────────────────────────────────────
Load MMENU.C
Find...
= case 'T':
= if (syscfg.sysconfig & sysconfig_no_xfer) {
= nl();
= pl(get_string(30));
= nl();
= break;
= }
Lower...
= if (menu_on()) {
= rmenu = 300;
= rip_cls();
= //printmenu(310);
= cleared = WASCLEARED;
= }
+ remind();
= break;
Find...
= case 'N':
= write_inst(INST_LOC_SUBS,65535,INST_FLAGS_NONE);
= express=0;
= expressabort=0;
= nscan(0);
+ remind();
= break;
Find...
= if (strcmp(s,"/A")==0) {
= nl();
= ac=0;
= if ((uconfsub[1].confnum!=-1) && (okconf(&thisuser))) {
= ac=1;
= tmp_disable_conf(1);
= }
= helpl=13;
= abort=0;
= num_listed=0;
= tagging=1;
= titled=1;
= nscanall();
= tagging=0;
= if (ac)
= tmp_disable_conf(0);
+ remind();
= }
Find...
= case 'D':
= helpl=20;
= play_sdf(get_string(1038),0);
= existprint(get_string(1038));
= download();
+ remind();
= break;
Save MMENU.C
Close MMENU.C
──────────────────────────────────────────────────────────────────────────────
■ Step Four ■
──────────────────────────────────────────────────────────────────────────────
Just MAKE the bbs, and your done!
This mod does something like this: Have you been posting, JOHN DOA?
when ever you, scan for new messages, scan for new files, download, and
when you enter the transfer area.
This is a very simple mod, i really dont see how you can screw it up
if you have modded before...
──────────────────────────────────────────────────────────────────────────────
■ E.O.F. ■
──────────────────────────────────────────────────────────────────────────────