home *** CD-ROM | disk | FTP | other *** search
/ Amiga Times / AmigaTimes.iso / programme / trionbbs110 / Trion / docs / Utils / ScanUserStats.doc < prev    next >
Encoding:
Text File  |  1998-10-06  |  2.0 KB  |  95 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.    =====( ScanUserStats & ShowStats V1.00 )===========================
  7.  
  8.  
  9.         Trion 'Scan User stats' System.
  10.  
  11.         (c) Copyright Paul Spijkerman, '94-'98. All rights reserved.
  12.  
  13.         Written for use with the Trion BBS package.
  14.  
  15.  
  16.    ===================================================================
  17.  
  18.  
  19.    This program does the same as the TopDL program but it doesn't
  20.    produce ANSI screens.
  21.  
  22.    Note that "TopDL" maybe a little slow scanning all users for
  23.    their stats. The program "ScanUserStats" does the
  24.    same as TopDL but stores the result in a binary files.
  25.    The program ShowStats can produce ANSI files of these stats.
  26.  
  27.  
  28.  
  29.    Made a programm 'ScanUserStats' that scans the UserBase for
  30.    all the stats that can be displayed in topDL and saves it
  31.    in the Trion:data/ directory.
  32.  
  33.    This is done because it takes a long time to scan the userbase
  34.    each time TopDL is runned, and the scan is needed once to
  35.    display each of stats. So if a user wanted to take a look
  36.    of all stats with TopDL it would scan the UserBase 7 times
  37.    to obtain the same stats.
  38.  
  39.    You can scan the userbase once when you enter a UserStats
  40.    menu .. or run it by a Cron or Scheduler (maintenance script)
  41.    Util.
  42.  
  43.  
  44.    Made a ShowStats programm, does the same as TopDL but uses
  45.    the data file created bij ScanStats. So it uses a fraction
  46.    of the time it is gonna take when you would make all
  47.    screens with TopDL.
  48.  
  49.    Also it draws a border around screens 1 .. 7
  50.  
  51.  
  52.    You could use it in a menu with this piece of source :
  53.  
  54.  
  55. Cmd "0" , 0-255
  56.    CliDoor  "trion:utils/ShowStats 0"
  57.    More
  58. EndCmd
  59.  
  60. Cmd "1" , 0-255
  61.    CliDoor  "trion:utils/ShowStats 1"
  62.    More
  63. EndCmd
  64.  
  65. Cmd "2" , 0-255
  66.    CliDoor  "trion:utils/ShowStats 2"
  67.    More
  68. EndCmd
  69.  
  70. Cmd "3" , 0-255
  71.    CliDoor  "trion:utils/ShowStats 3"
  72.    More
  73. EndCmd
  74.  
  75. Cmd "4" , 0-255
  76.    CliDoor  "trion:utils/ShowStats 4"
  77.    More
  78. EndCmd
  79.  
  80. Cmd "5" , 0-255
  81.    CliDoor  "trion:utils/ShowStats 5"
  82.    More
  83. EndCmd
  84.  
  85. Cmd "6" , 0-255
  86.    CliDoor  "trion:utils/ShowStats 6"
  87.    More
  88. EndCmd
  89.  
  90. Cmd "7" , 0-255
  91.    CliDoor  "trion:utils/ShowStats 7"
  92.    More
  93. EndCmd
  94.  
  95.