home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Devil's Doorknob BBS Capture (1996-2003)
/
devilsdoorknobbbscapture1996-2003.iso
/
Dloads
/
WWIVMODS
/
MODSUNKN.ZIP
/
NEWTAG.MOD
< prev
next >
Wrap
Text File
|
1990-07-19
|
2KB
|
58 lines
Fingers #1 @4452
Fri Jul 13 15:46:24 1990
7[2Msg Status7] 1Reply Wanted.
7=============================================================================
Parker Prospect #1 @9964
Tue Dec 12 22:01:40 1989
This tag line mod will work great, and it is simple (around 7 lines). This
has no messy misplaced else errors that non-programming sysops give out
either. I will admit that the original idea was not mine, but the original
idea loaded a file, read 6one0 line from it, and used it as a tag line.
2The following code is in MSGBASE.C in 4void inmsg2.0
-- Search for this line
++ Add this line
********************************* THE MOD *************************************
-- } else {
-- for (i5=0; i5<curli; i5++)
-- addline(b,&(lin[i5*LEN]),&l1);
-- }
++ if ((subboards[curlsub].type) && (syscfg.systemnumber))
++ {
++ addline(b,"",&l1); /* Blank line, leave this alone! */
++ addline(b,"<insert the first line of your tag here>",&l1);
++ addline(b,"<insert the next line of your tag here>",&l1);
++ addline(b,". . .",&l1);
/* You may ^^^^ do the above line as little or as much as you wish. Simply
add and delete the addline procedures as needed. The general format for
addline is "addline(b," message ",&l1);". I have to yet figure out the
parameters, but this works! */
++ }
-- if (b[l1-1]!=26)
-- b[l1++]=26;
-- savefile(b,l1,&m,aux);
*******************************************************************************
The credit for this mod goes 3somewhat0 to Doug Fields, who (indirectly) showed
me how to use addline. I am a programmer, but in Pascal (C is a close
relative). Anyway, the good part:
is not my fault, not is it the fault of my mod. 6It was simply your stupidity0.
(just kidding). I am not in any way liable for this mod.
(my board) and ask me some questions, or just chat because I am usually bored
out of my mind on weekdays anyway.
1Parker Prospect0
"2Problem Child0"
- AC/DC
5┌──────────────────────────────────────────────────────────────────┐0
5│2░▒▓█0 4The East Carolina Connection @99640 - 124 hrs.0 - 32400 baud0 2░▒▓█5│0
5└──────────────────────────────────────────────────────────────────┘