home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Devil's Doorknob BBS Capture (1996-2003)
/
devilsdoorknobbbscapture1996-2003.iso
/
Dloads
/
WWIVMODS
/
MODSUNKN.ZIP
/
FORCREAD.MOD
< prev
next >
Wrap
Text File
|
1990-04-24
|
4KB
|
94 lines
Benny Hill #1 @7400
Mon Apr 23 00:55:10 1990
BENNY1.MOD - New User No Abort Mod! v1.1
This was one of my first modifications way back in '88.
There was a bug or two lingering that I never noticed until someone
else noticed it. Well, I decided that old versions of the modification
should be removed, as it had the bug, and decided to re-release the
modifiction. What this does is forces your users to read the new user
messages. If the user spacebars through the message, it is re-printed
again, and again, until they finally read it!
========================================================================
Load up NewUser.C Search for void getuser(). change the line:
int i,ok,done; /* Change */
Ok, search down until you find thisuser.pw[6]=0; and put the following
lines:
if (!hangup) { /* Existing Line */
if (incom) { /* Existing Line */
do { /* Add */
done=1; /* the following */
if (printfile("SYSTEM.MSG")) {
sl1(0,"# Tried aborting System.Msg");
nl(); nl();
pl("You MUST read the System Message!");
nl(); nl();
done=0;
}
} while ((!done) && (!hangup));
do {
done=1;
if (printfile("NEWUSER.MSG")) {
sl1(0,"# Tried aborting NewUser.Msg");
nl(); nl();
pl("You MUST read the New User Message!");
nl(); nl();
done=0;
}
} while ((!done) && (!hangup));
}
input_name(); /* Existing Line */
input_realname(); /* Existing Line */
======================================================================
Ok, Search down to the end of Newuser.C and replace with the
following code....
if (incom) { /* Existing line */
do { /* Add to End */
done=1;
if (printfile("FEEDBACK.MSG")) {
sl1 (0,"# Tried aborting Feedback.Msg");
nl(); nl();
pl("You MUST read the Feedback Message!");
nl(); nl();
done=0;
}
} while ((!done) && (!hangup));
strcpy(irt,"Validation Feedback");
email(1,0,1,0);
}
}
}
========================================================================
I would give thanks to the person who fixed the problem, but I forgot
his name! C'est la vie!
Benny Hill
╔═════════════════════════════════════════════════════════════════════════╗
║ The Funny Farm (East) ║
║ ║
║ Head Psychiatrist: Benny Hill ║
║ Intern Psycho: Gelatinous Citizen ║
║ Intern Psycho: Kahuna Bambu ║
║ ║
║ WWIVnet @7400 WWIVLink @17400 ║
║ FIDOnet 1:379/15 ║
║ An Official WWIV Support Bulletin Board ║
║ Charlotte, North Carolina ║
║ (704)554-1496 300/1200/2400 ║
╚═════════════════════════════════════════════════════════════════════════╝