home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Devil's Doorknob BBS Capture (1996-2003)
/
devilsdoorknobbbscapture1996-2003.iso
/
Dloads
/
WWIVMODS
/
PRE412.ZIP
/
SYSPMENU.MOD
< prev
next >
Wrap
Text File
|
1990-06-25
|
4KB
|
121 lines
Suicidal Maniac #1 @6865
Fri Jun 22 20:20:22 1990
SysOp Menu Modification
By: Mad Dog Binkley
Ever get tired of trying to remember all those // commands, or sick of
typing //GFILEDIT instead of //GFILEEDIT? Well, I did, and, contrary to my
nature, I decided to do something about it. This mod cr eates an entirely
separate menu from the main and transfer menus containing all of the 4.10
cosysop and sysop commands. Also included is a file (SYSMENU.407) that will
accomplish the same for those of you who haven't switched to 4.10 yet. There
should be a total of 4 files included with this mod. These are:
SYSMENU.MOD This file.
SYSMENU.C File containg major portion of mod code.
SYSMENU.407 File containg major portion of mod code for 4.07 users.
MENU5.ANS Menu file for mod.
Ok, this mod is pretty simple to install. (Heard that one before? <grin>)
Just follow these steps and you'll have no problems.
Step 1:
-------
In BBS.C, search for "void mainmenu". Just before this function, block read
(^KR) SYSMENU.C or SYSMENU.407 depending on which version you're using.
Step 2:
-------
In BBS.C, search for "void mainmenu", then search for "case 'K':". Just before
this case, add:
case 'J':
if (cs())
cursys=1;
break;
Note: You could change the J to anything that is not already used by mainmenu.
Step 3:
-------
Still in BBS.C, search for "main_menu_label". Change the code under this to:
main_menu_label:
while (!hangup) {
if (curdloads)
dlmainmenu();
else if (cursys) /* add */
sysopmenu(); /* add */
else
mainmenu();
Step 4:
-------
In VARS.H, search for "curdloads". Change this line to:
int cursub,curdir,curdloads,cursys,msgreadlogon;
Step 5:
-------
Press F9 and recompile. See, told ya it was easy. After your sucessful
recompile (attitude guys!), copy MENU5.ANS to your gfiles directory. That's it.
Fire up the BBS and press 'J' and give it a try.
Step 6: (Optional)
------------------
I would recommend that you do not do this step until you decide whether you
like the mod or not and wish to do away with the // commands altogether. The
BBS will perform just fine as it is, but this will take some size out of the
BBS.C file and make the .EXE file a bit smaller (and we all know how important
that is when we do a lot of modding). Anyway, in BBS.C, search for 'void
mainmenu' then for 'if (strcmp(s,"BOARDEDIT")==0'. You can safely remove all
the code from the /**** ...**/ just above that line, to the 2nd one below it.
Stop just before the line:
if ((strcmp(s,"UPLOAD")==0) && (thisuser.sl>10))
Do NOT remove any after that. Those / commands are the ones available to all
users. Wayne marked off the sysop commands by the first set of /***...***/ and
the cosysop commands by the second set. Also, you'll probably want to make a
MENU5.B&W (same as .ANS but no color) and a MENU5.MSG (pure ASCII), but this
isn't necessary if you will always have your ansi colors turned on.
Well, hope you like this one. If not, then do it yerself. <grin> As always,
if your user list mysteriously disappears or your modem refuses to answer the
phone, it ain't my fault! If you have any problems installing this, or getting
it to work properly, I'll be glad to help you out. Unfortunatley, my board is
temporarily down (but this gives me lots of time to get converted over to 4.10 a
nd to do some mods I've been meaning to). But you can reach me at either Amber
or Mr. Bill's Abode. On Amber, I'm under my alias of Brad Stowers, and on
Bill's I'm Mad Dog Binkley (No idea what my user numbers are). Or, if you want
to get ahold of me really fast, you can reach me at The Secret Service BBS
(also under Brad Stowers). The number there is (304)429-6838 (1200/2400, 24
hrs/7 days, etc, etc.). Later doods.
2Origin ***>1 Dirty Bird's Nest, 618-397-7687, 14,400 HST