home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Devil's Doorknob BBS Capture (1996-2003)
/
devilsdoorknobbbscapture1996-2003.iso
/
Dloads
/
SYSOP
/
MODS1.ZIP
/
APOLLO12.423
< prev
next >
Wrap
Text File
|
1993-12-27
|
2KB
|
44 lines
┌──────────────────────────────────────────────────────Filo─Header─(c)────┐
│ Mod Name: Apollo12.423 Mod Authors: Apollo 1@92938 WWIVNet & BRNet │
│ Difficulty: █▒▒▒▒▒▒▒▒▒ 1@2939 TARDIS,TERRA,ICE & Mas Nets │
│ WWIV Version: v4.23 Date: 12/09/93 │
│ Files Affected: MISCCMD.C │
│ Sends SSM to SysOp When User adds to BBS List │
└─────────────────────────────────────────────────────────────────────────┘
LEGEND:
= old code, Search for this
+ new code
- Remove or comment out this line
> Modified From Virgin Code
#include <witty disclaimer>
BACKUP your Source
Load up: MISCCMD.C
Find: void bbslist(void)
= if (yn()) {
= sprintf(s1,"%sBBSLIST.MSG",syscfg.gfilesdir);
= f=sh_open(s1,O_RDWR | O_CREAT | O_BINARY, S_IREAD | S_IWRITE);
= if (filelength(f)) {
= sh_lseek(f,-1L,SEEK_END);
= sh_read(f,((void *)&ch1),1);
= if (ch1==26)
= sh_lseek(f,-1L,SEEK_END);
= }
+ ssm(1,0,s); /* Apollo12.423 */
= sh_write(f,(void *)s,strlen(s));
= sh_close(f);
= nl();
= pl(get_string(500));
= }
done.
Save, Recompile and run.
As you can see, Very easy!
---- /┤PΘ££Θ (8{[} <-- Bald Vampire W/Glasses & Facial Hair (me)