home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 2 BBS
/
02-BBS.zip
/
bbstat11.zip
/
bbstat.doc
next >
Wrap
Text File
|
1996-05-16
|
5KB
|
102 lines
BBSTAT initial release (v1.0) 3/10/94. v1.1 released 5/15/96
BBSTAT is a simple program for summarizing the Maximus BBSTATxx.BBS files
on a multi-node system.
To use the program simply execute it at logon with a single argument
being the node number. I do this in my LOGO.MEC file like this:
------------------------------------------------------------------------
[isremote][xtern_run]@c:\max\bbstat.exe %k
+----------------------------------------+
| OS/2 Shareware BBS |
| Operating 24 hours |
| 7 days/wk, 30 Nodes |
| Using USR Sportster V.34 |
| |
| Open Access: 703-385-4325 |
| Subscriber Access: 703-385-8450 |
| Telnet: bbs.os2bbs.com |
| WWW: http://www.os2bbs.com |
| |
| Fax: 703-385-6908 |
| |
| Your System Operator: Pete Norloff |
| |
| INTERNET PPP accounts available now. |
| Please download INTERNET.ZIP |
+----------------------------------------+
Real Names only, please.
------------------------------------------------------------------------
BBSTAT creates a file called LINESTxx.BBS which contains a single line
of text that looks like this:
You are caller number 985,688 overall, and caller number 529 today.
I display this file to the user at the end of my WELCOME.MEC file with
the single MECCA command "[link]linest*" like this:
------------------------------------------------------------------------
[cls onexit]Misc\Bulletin
[lightred on blue]┌───────────────────────────────────────┐[white]
[lightred on blue]│ │[white]
[lightred on blue]│ [yellow on blue ] the OS/2 Shareware BBS [lightred on blue]│[white]
[lightred on blue]│ [lightmagenta on blue] The world's largest collection [lightred on blue]│[white]
[lightred on blue]│ [lightmagenta on blue] of freeware and shareware OS/2 [lightred on blue]│[white]
[lightred on blue]│ [lightmagenta on blue] files and information. [lightred on blue]│[white]
[lightred on blue]│ │[white]
[lightred on blue]│ [lightgreen on blue ] P.O. Box 3451 Fairfax, Virginia [lightred on blue]│[white]
[lightred on blue]│ [lightgreen on blue ] 22038-3451 [lightred on blue]│[white]
[lightred on blue]│ │[white]
[lightred on blue]└───────────────────────────────────────┘[white]
[yellow]Logging [user], calling from [city] [date] at [time]
[lightgreen]You last called on [lastcall].
[yellow]You are the [syscall] caller on this node and this is your [usercall] call.
[link]linest*
[enter]
------------------------------------------------------------------------
And that's about it.
One further detail. BBSTAT can be used to display all of the info in
each of the BBSTATxx.BBS files by executing it with the single parameter
"disp" or "DISP". This will list the contents of these files to the
screen and will not write out a LINESTxx.BBS.
BBSTAT expects to be executing in the Maximus directory where the
BBSTATxx.BBS files are.
Revisions in version 1.1:
There is a peculiarity in the way that Maximus counts callers in that it
increments the counter at logoff time. Because of this, as people log
onto your system, the call count doesn't increment until someone logs
off. The odd effect is that you end up with multiple calls with the
same call number. Because of this, there is a modification in this
version of BBSTAT to create a file called BBSTAT.NUM which maintains the
current call count. If this file can't be found BBSTAT will use the
total number of callers calculated as a sum of all the call counters in
all the BBSTATxx.BBS files. The BBSTAT.NUM file is updated on every
call and re-calculated every time you run BBSTAT with the disp or DISP
parameter. I run the program with the disp parameter as a part of my
nightly maintenance run to get it back into synch with the BBSTATxx.BBS
files.
There are a few other tweaks to the way I handle call counts but in the
two years since the first release of the program I can't remember what
they are. If you have questions or problems with the program, feel
free to contact me on the bbs or email me at pnorloff@os2bbs.com.
Pete Norloff