home *** CD-ROM | disk | FTP | other *** search
/ Carsten's PPE Collection / Carstens_PPE_Collection_2007.zip / T / TIMEOUT.ZIP / TIMEKILL.PPE (.txt) < prev    next >
PCBoard Programming Language Executable  |  1993-06-07  |  1KB  |  117 lines

  1. ;------------------------------------------------------------------------------
  2. ;                                                   .ss.
  3. ;                                                   `²²'
  4. ;             .,sS$Ss,,s$  .,sS$$$Ss.  .,sS$Ss,,s$ .ss.  .sSs.
  5. ;           .d$$²^°²$$$$'.d$P²°^^²$P'.d$$²^°²$$$$'.$$$' .$$$²Sb,.
  6. ;           $$$'   .$$$' $$$²Sçsµ²' .$$$'   .$$$'.$$$' .$$$'  `$$b.
  7. ;           $$$b,,d$$$' ,$$$b,....,s$$$$b,,d$$$'.$$$;.,$$$'    ;$$$
  8. ;           `²S$$S²²S$$S²°²S$$$$S²°°²S$$$$$$',$$S²°²S$S'.sS$$$P²'
  9. ;                                    .sS²°$$$²²°"'       d²°'
  10. ;                                  .$$²  .$$'
  11. ;                                  $$$.,d$$'
  12. ;                                  `²S$$S²'
  13. ;------------------------------------------------------------------------------
  14. ; P.P.L.X. 2.OO                          (C)1996 - Lone Runner / AEGiS CoRP'96 
  15. ;------------------------------------------------------------------------------
  16. ; PPE 1.OO (plain) - Analysis ON - Postprocessing ON
  17. ;------------------------------------------------------------------------------
  18.  
  19.  
  20. ;------------------------------------------------------------------------------
  21.  
  22.     GetUser
  23.     If (CurSec() >= 90) Goto LABEL002
  24.     If (CurSec() <= 15) Goto LABEL001
  25.     Log "*** KEYBOARD TIMEOUT! 15 minutes deducted ***", 0
  26.     PrintLn "Since you just left the BBS to timeout and log you off, "
  27.     PrintLn "your available time today will be reduced by 15 minutes. "
  28.     PrintLn 
  29.     AdjTime -15
  30.     PutUser
  31.     Goto LABEL003
  32.     :LABEL001
  33.     Log "*** NewUser allowed a KEYBOARD TIMEOUT! & was killed! ***", 0
  34.     Cls
  35.     Newlines 10
  36.     PrintLn "It is rather rude to just leave a BBS to timeout.  It reduces "
  37.     PrintLn "the available time for our other users and makes poor use of "
  38.     PrintLn "our limited resources.  Since your account had yet to be "
  39.     PrintLn "approved it has now been flagged for deletion and you will "
  40.     PrintLn "be permanently logged off the board.  GOOD BYE. "
  41.     Newline
  42.     DelUser
  43.     U_Sec = 0
  44.     U_ExpSec = 0
  45.     PutUser
  46.     Goto LABEL003
  47.     :LABEL002
  48.     Log "*** KEYBOARD TIMEOUT! 15 minutes deducted ***", 0
  49.     :LABEL003
  50.     Hangup
  51.     End
  52.  
  53. ;------------------------------------------------------------------------------
  54. ;
  55. ; Usage report (before postprocessing)
  56. ;
  57. ; ■ Statements used :
  58. ;
  59. ;    1       End
  60. ;    1       Cls
  61. ;    5       Goto 
  62. ;    2       Let 
  63. ;    8       PrintLn 
  64. ;    2       If 
  65. ;    1       Hangup
  66. ;    1       GetUser
  67. ;    2       PutUser
  68. ;    1       DelUser
  69. ;    1       AdjTime 
  70. ;    3       Log 
  71. ;    1       Newline
  72. ;    1       Newlines 
  73. ;
  74. ;
  75. ; ■ Functions used :
  76. ;
  77. ;    1       -
  78. ;    1       <=
  79. ;    1       >=
  80. ;    2       CurSec()
  81. ;
  82. ;------------------------------------------------------------------------------
  83. ;
  84. ; Analysis flags : WDAB
  85. ;
  86. ; W - Write user ■ 5
  87. ;     Program writes a user record. Although this may be normal for a
  88. ;     User Editor, it may also be a way to modify an account level.
  89. ;     ■ Search for : PUTUSER
  90. ;
  91. ; D - Delete user ■ 5
  92. ;     Program is deleting account(s)... Check!
  93. ;     ■ Search for : DELUSER
  94. ;
  95. ; A - Adjust online time remaining ■ 5
  96. ;     Program modify the amount of online time remaining, this may
  97. ;     be a way to bypass time limits
  98. ;     ■ Search for : ADJTIME
  99. ;
  100. ; B - Brute hangup ■ 1
  101. ;     Program hangup without notification. This may be a good way to
  102. ;     disconnect a user, but if used randomly, may be very nasty
  103. ;     ■ Search for : HANGUP, DTROFF
  104. ;
  105. ;------------------------------------------------------------------------------
  106. ;
  107. ; Postprocessing report
  108. ;
  109. ;    0       For/Next
  110. ;    0       While/EndWhile
  111. ;    0       If/Then or If/Then/Else
  112. ;    0       Select Case
  113. ;
  114. ;------------------------------------------------------------------------------
  115. ;                 AEGiS Corp - Break the routines, code against the machines!
  116. ;------------------------------------------------------------------------------
  117.