home *** CD-ROM | disk | FTP | other *** search
/ Carsten's PPE Collection / Carstens_PPE_Collection_2007.zip / T / TIMEOUT.ZIP / TIMEOUT.PPE (.txt) < prev    next >
PCBoard Programming Language Executable  |  1993-06-07  |  828b  |  91 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 LABEL001
  24.     Log "*** KEYBOARD TIMEOUT! 15 minutes deducted ***", 0
  25.     PrintLn "Since you just left the BBS to timeout and log you off, "
  26.     PrintLn "your available time today will be reduced by 15 minutes. "
  27.     PrintLn 
  28.     AdjTime -15
  29.     PutUser
  30.     Goto LABEL002
  31.     :LABEL001
  32.     Log "*** KEYBOARD TIMEOUT! ***", 0
  33.     :LABEL002
  34.     Hangup
  35.     End
  36.  
  37. ;------------------------------------------------------------------------------
  38. ;
  39. ; Usage report (before postprocessing)
  40. ;
  41. ; ■ Statements used :
  42. ;
  43. ;    1       End
  44. ;    3       Goto 
  45. ;    3       PrintLn 
  46. ;    1       If 
  47. ;    1       Hangup
  48. ;    1       GetUser
  49. ;    1       PutUser
  50. ;    1       AdjTime 
  51. ;    2       Log 
  52. ;
  53. ;
  54. ; ■ Functions used :
  55. ;
  56. ;    1       -
  57. ;    1       >=
  58. ;    1       CurSec()
  59. ;
  60. ;------------------------------------------------------------------------------
  61. ;
  62. ; Analysis flags : WAB
  63. ;
  64. ; W - Write user ■ 5
  65. ;     Program writes a user record. Although this may be normal for a
  66. ;     User Editor, it may also be a way to modify an account level.
  67. ;     ■ Search for : PUTUSER
  68. ;
  69. ; A - Adjust online time remaining ■ 5
  70. ;     Program modify the amount of online time remaining, this may
  71. ;     be a way to bypass time limits
  72. ;     ■ Search for : ADJTIME
  73. ;
  74. ; B - Brute hangup ■ 1
  75. ;     Program hangup without notification. This may be a good way to
  76. ;     disconnect a user, but if used randomly, may be very nasty
  77. ;     ■ Search for : HANGUP, DTROFF
  78. ;
  79. ;------------------------------------------------------------------------------
  80. ;
  81. ; Postprocessing report
  82. ;
  83. ;    0       For/Next
  84. ;    0       While/EndWhile
  85. ;    0       If/Then or If/Then/Else
  86. ;    0       Select Case
  87. ;
  88. ;------------------------------------------------------------------------------
  89. ;                 AEGiS Corp - Break the routines, code against the machines!
  90. ;------------------------------------------------------------------------------
  91.