home *** CD-ROM | disk | FTP | other *** search
/ Boston 2 / boston-2.iso / DOS / HILFEN / MODEM / SALES / MISC.XXX / TX2MB220.ZIP / TRACKUSR.BAT < prev    next >
DOS Batch File  |  1991-03-10  |  1KB  |  30 lines

  1. echo off
  2. echo TXT2MSG User Tracking [TRACKUSR.LST]...
  3.  
  4. rem   Event Batch to keep track of a list of users (via callerlog)
  5. rem   Invoke this batchfile with a name (ALL CAPS!) if you want to add
  6. rem   a name to the list.  If you invoke it without a name on the
  7. rem   commandline then it will do it's normal search/processing.
  8.  
  9. rem   This batch uses TRACKUSR.LST in the current directory for the
  10. rem   list of names to track.  Each user in this listfile will cause
  11. rem   a message to be sent to the Sysop in with any caller log entries
  12. rem   from that user.  Simply edit this batch/call to TXT2MSG as desired.
  13.  
  14. rem   The example TRACKUSR.LST file shows how I track echomail logins to
  15. rem   see when the last time a BBS login came to get mail.  Useful for
  16. rem   catching problems with automated scripts that neither side would
  17. rem   notice without looking at the callers logs.
  18.  
  19. rem   See also:  TRACKONE.BAT example batchfile to manually track one user.
  20.  
  21. if %1.==. goto PROCESS
  22. echo From: %1 %2>>trackusr.lst
  23. echo Added %1 %2 to TRACKUSR.LST file.  Run %0 with no params to process.
  24. goto END
  25.  
  26. :PROCESS
  27. txt2msg d:\conf\1\msgs -qtrackusr.lst k:\all\stats\caller? -ril
  28.  
  29. :END
  30.