home *** CD-ROM | disk | FTP | other *** search
- Neue Regel (Or Silent Knight) #1 @10141
- Mon Jun 26 06:32:56 1995
- ┌────────────────────────────────────────────────────────────────────────────┐
- │ Mod Name : ZF-3.MOD Mod Author: Neue Regel 1@10141 WWIVnet│
- │ Difficulty : ░░░░░░░░░░ /┤lpha-1 Republic [ASV/GSA] 1@6293 ICEnet │
- │ WWIV Version : 4.24 │
- │ Mod Date : 6-25-95 │
- │ Files Affected: MMENU.C │
- │ │
- │ Description : SysOp availability at system prompt. │
- └────────────────────────────────────────────────────────────────────────────┘
-
- ─[Legal Info]────────────────────────────────────────────────────────────────
- This modified code may contain some parts of WWIV source code, which is
- copyright 1988-1995 by Wayne Bell and licensed only to registered users of
- WWIV. Use of WWIV source without registration constitutes a license
- violation, could lead to legal prosecution and is generally regarded as evil
- Shareware distributors and CD-ROM publishers may not distribute this
- modified code without express written permission of the Author or WWIV
- Software Services.
-
- ─[Extended Description]──────────────────────────────────────────────────────
- Unca Scrooge had a mod like this for 4.23.. ehh well mine's for 4.24 and
- well it does just what the description says. Tells you if the sysop is
- around or not.
-
- ─[Disclaimer]────────────────────────────────────────────────────────────────
- Ehh... back up the code... something ominous could happen.
-
- ─[Step 1 (the only step)]────────────────────────────────────────────────────
-
- Open up MMENU.C
- Search for this (under void mainmenu, may be slightly different):
- npr("1T 0- 1%s\r\n",ctim(nsl()));0
- Under it add this block
- replace it with
- npr("1Time9: 1%s ",ctim(nsl()));0
- npr("1Sysop %s available\r\n", (!sysop2())?"7isn't1":"is");0
-
- Search for it again and do the same replacement in void dlmainmenu.
-
- Save mmenu.c, then type make in your source directory. You are done. Only
- 40 lines... what another great short mod again eh?
-
- Idea: Change these lines a little so your prompts are customized... for
- example this is what it really looks like on my board:
- npr("i─═p[bTime7:3·b%si═",ctim(nsl()));0
- npr("bSysop3·b%s3·bavailablep]i═─\r\n", (!sysop2())?"7isn't":"is");0
- The one in the mod is just a plain example... have fun...
- ─[Closing]───────────────────────────────────────────────────────────────────
- If you do happen to have trouble or have any advice that could make this mod
- better or even if you just want to chat e-mail me at one of the following
- addresses (in preferential order).
-
- Internet: uaslabs@bmn.net
- or : swan0322@maroon.tc.umn.edu
- WWIVnet : 1@10141
- ICEnet : 1@6293
-
- /┤lpha-1 Republic: 612-988-0828
-