home *** CD-ROM | disk | FTP | other *** search
/ ftp.wwiv.com / ftp.wwiv.com.zip / ftp.wwiv.com / pub / BBS / JLUT531.ZIP / MISC.ZIP / LEVELS.@JL < prev    next >
Text File  |  1994-05-11  |  8KB  |  199 lines

  1. ;┌────────────────────────────────────────────────────────────────────┐
  2. ;│                  CONTROL FILE for the option MO                    │
  3. ;└────────────────────────────────────────────────────────────────────┘
  4. ;
  5. ; START OF EXPLANATION.
  6. ;
  7. ; This control files contains lines, which start with a semicolon. These
  8. ; lines are comments and the option MO will not proceed them. The lines,
  9. ; which don't start with a semicolon, are commands for the option MO. These
  10. ; commands have a special structure with several fields delimited with commas.
  11. ; Between the fields you can enter spaces to make this file more readable for
  12. ; you, but the spaces are not necessary. All fields of a command must be
  13. ; on one line. Let's discuss an example:
  14. ;
  15. ; ?,Z,X,A,ALL_USER,NO_MSG,N,0,0,0,0,0; comment
  16. ; ┌ ┌ ┌ ┌ ───┬──── ──┬─── ┌ ┌ ┌ ┌ ┌ ┌
  17. ; │ │ │ │    │       │    │ │ │ │ │ └───  12. Netmail Charges
  18. ; │ │ │ │    │       │    │ │ │ │ └─────  11. Netmail Credits
  19. ; │ │ │ │    │       │    │ │ │ └───────  10. Calls
  20. ; │ │ │ │    │       │    │ │ └─────────   9. Download-upload difference
  21. ; │ │ │ │    │       │    │ └───────────   8. Download-upload ratio
  22. ; │ │ │ │    │       │    └─────────────   7. Write-answers-flag
  23. ; │ │ │ │    │       └──────────────────   6. MessageFileName
  24. ; │ │ │ │    └──────────────────────────   5. DataFileName
  25. ; │ │ │ └───────────────────────────────   4. DataKind
  26. ; │ │ └─────────────────────────────────   3. Exist-flag
  27. ; │ └───────────────────────────────────   2. NewLevel
  28. ; └─────────────────────────────────────   1. OldLevel
  29. ;
  30. ;
  31. ;
  32. ; OldLevel
  33. ; ════════
  34. ;
  35. ; Here you can specify for which level(s) the following conditions will
  36. ; be proved. If the level of a user is equal to OldLevel, JLUTIL will
  37. ; change his level, if the conditions, which are following, are true.
  38. ; It is possible to specify a range. If you specify eg. T-W the following
  39. ; condition will be proved, if the level of a user is T,U,V or W. If you
  40. ; want, that the following condition will be proved for all users, you
  41. ; can specify '?'.
  42. ;
  43. ; NewLevel
  44. ; ════════
  45. ;
  46. ; The level of a user will be changed to NewLevel, if his level matched
  47. ; OldLevel and if the following conditions were true. It is of cource
  48. ; not possible to specify a range nor '?'. NewLevel must be IN
  49. ; [0..9,A..Z,a..z].
  50. ;
  51. ; Exist-flag
  52. ; ══════════
  53. ;
  54. ; Then you can specify, if JLUTIL should search for the User's Name in
  55. ; a File. You have to setup three fields:
  56. ;
  57. ; AnswerFile This is the FileName of the List, normally it is ANSWER1.BBS
  58. ;            or another ANSWER File from GT, but you can also ask JLUTIL
  59. ;            to search for the User's Name within the JLUTIL LVL_*.@JL
  60. ;            Files or you can specify ALL_USER.
  61. ;
  62. ; Kind       Here you have to tell JLUTIL, of which Kind the AnswerFile
  63. ;            is:
  64. ;                        G   GT Format
  65. ;                        J   JL Format   (very fast:  Use /CO)
  66. ;                        A   ALL_USER
  67. ;                        N   only a single Name, which should be
  68. ;                            specified in the AnswerFile field.
  69. ;
  70. ; Exist      With this field you specify, if this condition is true,
  71. ;            if JLUTIL finds the User's Name or not.
  72. ;
  73. ;                                                      Exist    Not Exist
  74. ;                                                        X          N
  75. ;
  76. ;            JLUTIL finds the UserName                 TRUE       FALSE
  77. ;
  78. ;            JLUTIL finds not the UserName             FALSE      TRUE
  79. ;
  80. ;
  81. ;            So you can change the Level of a User, if he hasn't answered
  82. ;            ANSWER1.BBS (Kind = N). Or you change the Level of a User,
  83. ;            if he has answered the Questionaire #1 (Kind = X).
  84. ;
  85. ; After these tree fields, you have to specify the Name of the MsgFile,
  86. ; JLUTIL sends to the User, if JLUTIL changes his level:
  87. ;
  88. ; MsgFile    FileName of the Msg, which you want to be send to the User,
  89. ;            if his Level will be changed. If you specify [NO_MSG], JLUTIL
  90. ;            will not send a Msg to the User. The Sysop will get a summary.
  91. ;            This message can contain the two variables @V01 (old level)
  92. ;            and @v02 (new level).
  93. ;
  94. ; Write?     In this field you can specify, if JLUTIL inserts the answers
  95. ;            from the AnswerFile (eg. ANSWER1.BBS) into the Summary Report
  96. ;            to the Sysop or Not. [Y/N]. This is useful, if a you don't
  97. ;            want to inspect ANSWER1.BBS manually, when ever a new user
  98. ;            has filled out ANSWER1.BBS.
  99. ;
  100. ; Now are following three conditions, which must be all true, if JLUTIL should
  101. ; change the User's level:
  102. ;
  103. ; DL/UL(KB)  This condition is true, if the ratio downloaded kilobytes
  104. ;            to uploaded kilobytes is bigger than the specified value.
  105. ;            If you enter zero, this condition is true irrespective of
  106. ;            the KiloBytes, which the User has downloaded or uploaded.
  107. ;
  108. ;            eg:  DL: 1500 KB   UL: 250 KB
  109. ;
  110. ;                 IF DL/UL(KB) <= 6 THEN FALSE
  111. ;                 IF DL/UL(KB) >  6 THEN TRUE
  112. ;
  113. ;
  114. ; DL-UL(KB)  This condition is true, if the difference downloaded kilobytes
  115. ;            to uploaded kilobytes is bigger than the specified value.
  116. ;            If you enter zero, this condition is true irrespective of
  117. ;            the KiloBytes, which the User has downloaded or uploaded.
  118. ;
  119. ;            eg:  DL: 1500 KB   UL: 250 KB
  120. ;
  121. ;                 IF DL-UL(KB) <= 1250 THEN FALSE
  122. ;                 IF DL-UL(KB) >  1250 THEN TRUE
  123. ;
  124. ; Calls
  125. ; ═════
  126. ;
  127. ; This condition is true, if a user has logged on more times than the
  128. ; specified value. If you enter zero, this condition is true irrespective
  129. ; of number of Calls.
  130. ;
  131. ;
  132. ; With the last two fields you can specify the amount of Credits and Charges
  133. ; the user will get, if his level will be changed:
  134. ;
  135. ; Netmail Credits
  136. ; ═══════════════
  137. ;
  138. ; If MO changes the level of the user to NewLevel, it will change the
  139. ; NetMail Credits to the specified value, if this value is not zero.
  140. ;
  141. ; Netmail Charges
  142. ; ═══════════════
  143. ;
  144. ; If MO changes the level of the user to NewLevel, it will change the
  145. ; NetMail Charges to the specified value, if this value is not zero.
  146. ;
  147. ; Comment
  148. ; ═══════
  149. ;
  150. ; You can enter a comment after the last field delimited with a semicolon
  151. ; to describe the command.
  152. ;
  153. ;
  154. ; We at WAP-Box are giving new callers a level of Z. If he answers the
  155. ; questionaire, his level will be changed from MO to T and he will
  156. ; receive a welcome-message. After 20 calls or a bad download to upload
  157. ; ratio his level will be decraded to W. Now he receives a message, that
  158. ; he has to pay, if he wants to have level T, or he can still have
  159. ; level W with less time, no download possibilty and so on.
  160. ;
  161. ; IMPORTANT
  162. ; ═════════
  163. ;
  164. ; MO starts reading this file from the first line. If a user has level A
  165. ; and this file contains:
  166. ;
  167. ; A  ,Z,N,J,ALL_USER   ,NO_MSG ,N,   0  ,   0,   0,   0,   0
  168. ; B-z,T,X,A,ALL_USER   ,NO_MSG ,N,   0  ,   0,   0,   0,   0
  169. ;
  170. ; the level of the user will be changed to T (A -> Z -> T). If a user has
  171. ; level A and this file contains:
  172. ;
  173. ; B-z,T,X,A,ALL_USER   ,NO_MSG ,N,   0  ,   0,   0,   0,   0
  174. ; A  ,Z,N,J,ALL_USER   ,NO_MSG ,N,   0  ,   0,   0,   0,   0
  175. ;
  176. ; the level of the user will be changed to Z (A -> Z).
  177. ;
  178. ; END OF EXPLANATION.
  179. ;──────────────────────────────────────────────────────────────────────
  180.  
  181. 1-9,Z,X,A,ALL_USER      ,NO_MSG ,N,   0  ,   0,   0,   0,   0
  182. B-N,Z,X,A,ALL_USER      ,NO_MSG ,N,   0  ,   0,   0,   0,   0
  183. U-V,Z,X,A,ALL_USER      ,NO_MSG ,N,   0  ,   0,   0,   0,   0
  184. a-z,Z,X,A,ALL_USER      ,NO_MSG ,N,   0  ,   0,   0,   0,   0
  185.  
  186. ?  ,0,X,N,Juergen Lorenz,NO_MSG ,N,   0  ,   0,   0,   0,   0
  187. ?  ,A,X,J,LVL_065.@JL   ,NO_MSG ,N,   0  ,   0,   0,5000,   0
  188. ?  ,T,X,J,LVL_084.@JL   ,NO_MSG ,N,   0  ,   0,   0,1000,   0
  189.  
  190. A  ,Z,N,J,LVL_065.@JL   ,NO_MSG ,N,   0  ,   0,   0,   0,   0
  191. T  ,W,N,J,LVL_084.@JL   ,LVL_T_W,N,   0  ,   0,  20,   0,   0; T -> W
  192. T  ,W,N,J,LVL_084.@JL   ,LVL_T_W,N,   0  ,5000,  20,   0,   0;
  193. W  ,W,N,J,LVL_084.@JL   ,LVL_W_W,N,   0  ,   0,  25,   0,   0;
  194. X  ,R,X,G,ANSWER1.BBS   ,LVL_X_R,Y,   0  ,   0,   0,   0,   0
  195. X  ,R,X,G,ANSWER1.GES   ,LVL_X_R,N,   0  ,   0,   0,   0,   0
  196. Z  ,T,X,G,ANSWER1.BBS   ,LVL_Z_T,Y,   0  ,   0,   0,1000,   0
  197. Z  ,T,X,G,ANSWER1.GES   ,LVL_Z_T,N,   0  ,   0,   0,1000,   0
  198.  
  199.