home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 2 BBS / 02-BBS.zip / bbstat11.zip / bbstat.doc next >
Text File  |  1996-05-16  |  5KB  |  102 lines

  1. BBSTAT initial release (v1.0) 3/10/94.  v1.1 released 5/15/96
  2.  
  3. BBSTAT is a simple program for summarizing the Maximus BBSTATxx.BBS files
  4. on a multi-node system.
  5.  
  6. To use the program simply execute it at logon with a single argument
  7. being the node number.  I do this in my LOGO.MEC file like this:
  8.  
  9. ------------------------------------------------------------------------
  10. [isremote][xtern_run]@c:\max\bbstat.exe %k
  11.  
  12.                   +----------------------------------------+
  13.                   |   OS/2 Shareware BBS                   |
  14.                   |   Operating 24 hours                   |
  15.                   |   7 days/wk, 30 Nodes                  |
  16.                   |   Using USR Sportster V.34             |
  17.                   |                                        |
  18.                   |   Open Access:        703-385-4325     |
  19.                   |   Subscriber Access:  703-385-8450     |
  20.                   |   Telnet:  bbs.os2bbs.com              |
  21.                   |   WWW:     http://www.os2bbs.com       |
  22.                   |                                        |
  23.                   |   Fax:                703-385-6908     |
  24.                   |                                        |
  25.                   |   Your System Operator: Pete Norloff   |
  26.                   |                                        |
  27.                   | INTERNET PPP accounts available now.   |
  28.                   |     Please download INTERNET.ZIP       |
  29.                   +----------------------------------------+
  30.  
  31. Real Names only, please.
  32.  
  33.  
  34. ------------------------------------------------------------------------
  35.  
  36. BBSTAT creates a file called LINESTxx.BBS which contains a single line
  37. of text that looks like this:
  38.  
  39. You are caller number 985,688 overall, and caller number 529 today.
  40.  
  41. I display this file to the user at the end of my WELCOME.MEC file with
  42. the single MECCA command "[link]linest*" like this:
  43.  
  44. ------------------------------------------------------------------------
  45. [cls onexit]Misc\Bulletin
  46.                     [lightred on blue]┌───────────────────────────────────────┐[white]
  47.                     [lightred on blue]│                                       │[white]
  48.                     [lightred on blue]│ [yellow on blue      ]      the OS/2 Shareware BBS          [lightred on blue]│[white]
  49.                     [lightred on blue]│ [lightmagenta on blue]   The world's largest collection     [lightred on blue]│[white]
  50.                     [lightred on blue]│ [lightmagenta on blue]   of freeware and shareware OS/2     [lightred on blue]│[white]
  51.                     [lightred on blue]│ [lightmagenta on blue]      files and information.          [lightred on blue]│[white]
  52.                     [lightred on blue]│                                       │[white]
  53.                     [lightred on blue]│ [lightgreen on blue  ]  P.O. Box 3451 Fairfax, Virginia     [lightred on blue]│[white]
  54.                     [lightred on blue]│ [lightgreen on blue  ]             22038-3451               [lightred on blue]│[white]
  55.                     [lightred on blue]│                                       │[white]
  56.                     [lightred on blue]└───────────────────────────────────────┘[white]
  57.  
  58.  
  59. [yellow]Logging [user], calling from [city]  [date] at [time]
  60.  
  61. [lightgreen]You last called on [lastcall].
  62.  
  63. [yellow]You are the [syscall] caller on this node and this is your [usercall] call.
  64.  
  65. [link]linest*
  66. [enter]
  67. ------------------------------------------------------------------------
  68.  
  69. And that's about it.
  70.  
  71. One further detail.  BBSTAT can be used to display all of the info in
  72. each of the BBSTATxx.BBS files by executing it with the single parameter
  73. "disp" or "DISP".  This will list the contents of these files to the
  74. screen and will not write out a LINESTxx.BBS.
  75.  
  76. BBSTAT expects to be executing in the Maximus directory where the
  77. BBSTATxx.BBS files are.
  78.  
  79. Revisions in version 1.1:
  80.  
  81. There is a peculiarity in the way that Maximus counts callers in that it
  82. increments the counter at logoff time.  Because of this, as people log
  83. onto your system, the call count doesn't increment until someone logs
  84. off.  The odd effect is that you end up with multiple calls with the
  85. same call number.  Because of this, there is a modification in this
  86. version of BBSTAT to create a file called BBSTAT.NUM which maintains the
  87. current call count.  If this file can't be found BBSTAT will use the
  88. total number of callers calculated as a sum of all the call counters in
  89. all the BBSTATxx.BBS files.  The BBSTAT.NUM file is updated on every
  90. call and re-calculated every time you run BBSTAT with the disp or DISP
  91. parameter.  I run the program with the disp parameter as a part of my
  92. nightly maintenance run to get it back into synch with the BBSTATxx.BBS
  93. files.
  94.  
  95. There are a few other tweaks to the way I handle call counts but in the
  96. two years since the first release of the program I can't remember what
  97. they are.  If you have questions or problems with the program, feel
  98. free to contact me on the bbs or email me at pnorloff@os2bbs.com.
  99.  
  100. Pete Norloff
  101.  
  102.