home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Monster Media 1994 #1
/
monster.zip
/
monster
/
TRIBBS
/
NOSYSOP.ZIP
/
NOSYSOP.DOC
< prev
next >
Wrap
Text File
|
1994-03-16
|
5KB
|
150 lines
*****************************************************************************
NoSysop, the local sysop remover for Tribbs 5.0 and up.
By Dave Reynolds Sysop of North Of Toronto BBS
[905] 775-9278 reg# 1069
using Turbo c++
*****************************************************************************
Please DO NOT alter the files in this .ZIP archive.
*****************************************************************************
NoSysop:
- removes your (or any specified) name from the callers log.
- calls are added to SYSOP.LOG in your MWORK directory.
- fixes the number of calls today, and total calls.
- sets an ERRORLEVEL if the sysop is found. Making between.bat
more flexible.
- can be run multiple times in your between.bat for co-sysops.
- is NOT crippled in anyway. If you find it use it, and feel
inclinded, send $5 (cdn) to:
North Of Toronto BBS
114 Holland St. West. BOX 402
Bradford Ont.
L3Z 1R7
- but you dont have to.
*****************************************************************************
NOTE! NoSysop looks for NAMES, NOT "local" or "node 0" or anything like
that. Nosysop will delete sysop REMOTE calls as well.
*****************************************************************************
INSTALLING:
FIRST RUN:
Put NOSYSOP.EXE in your Tribbs Directory (or a utils directory).
From the command line type:
NOSYSOP First Last /F
eg. nosysop Dave Reynolds /f
** Were First is the first name of the sysop, Last is the last name.
** Names are case sensitive! Dave is not the same as dave. Make
sure your name is the same as it appears in your callers log.
The /F (or /f) tells nosysop.exe NOT to change the number of total, or
todays calls. If it did it would reverse the number of calls today
to a negative number. If you use a trim feature on your callers log
all of your local calls will not be found.
Any calls found by the First Last name will be moved to SYSOP.LOG.
A text file in the MWORK directory. This file will grow until
manually trimed.
** NOW go into TRIMAN (or from the call waiting screen) look at your
user record. Find your number of calls. Then change to the system
configuration and subtract YOUR calls from the Total Calls.
Now only true user calls will be included in the total system calls.
(Todays calls will reset itself at midnight, so dont worry about that
one.)
BETWEEN.BAT:
Put NOSYSOP.EXE in your tribbs directory (or in a utils directory).
Edit your BETWEEN.BAT file and add NOSYSOP First Last
(include a path if not in the tribbs directory).
You can also test to see if the caller was the sysop by testing the
error level.
ERRORLEVEL 0 regular caller
ERRORLEVEL 1 ERROR! most likly a file not found.
ERRORLEVEL 2 Sysop found
Example Between.bat file:
@echo off
nosysop Dave Reynolds
if ERRORLEVEL 2 goto end
{ Your normal user stuff. Bulletin updaters etc.}
:end
********* OR **********
@echo off
\tribbs\utils\nosysop Dave Reynolds
if ERRORLEVEL 2 goto end
{ Your normal user stuff. }
:end
Of coarse you don't have to check for Error levels. I just found that
none of my bulletins included me anyway, so why waste time updating
bulletins and checking for uploads etc. When I know I'm not in there!
NOSYSOP completly removes you from the callers log. So if you wanted
to include your self in a bulletin update or a UPLOAD tester. Simply
put it BEFORE nosysop. eg:
@echo off
upload tester
bulletin updater
nosysop Dave Reynolds
You can also run it two or three times for Co-sysops. Just rerun
the program with a new name. (and follow the first run instructions
if you like) eg:
@echo off
nosysop Dave Reynolds
nosysop Joe Blow
MULTI-NODE:
I have done a small amount of testing with 2 nodes under windows, and
have not had a problem as of yet. HOWEVER multi-node is not at this
point been fully tested.
PROBLEMS:
Let me know! I'll fix what I can. Call NOT!BBS 905-775-9278
OR send mail via NANET in the CHIT_CHAT conference.
***************************************************************************
Standard disclaimer:
This program could format your hard drive and melt your monitor.
It runs fine on my systems. (486sx33 and a 386dx40). And I can't see
any major problems, but please be aware I am not a professional
programmer.