home *** CD-ROM | disk | FTP | other *** search
/ Collection of Hack-Phreak Scene Programs / cleanhpvac.zip / cleanhpvac / CIAFONLR.ZIP / ONLROFF.PPE (.txt) < prev    next >
PCBoard Programming Language Executable  |  1994-03-11  |  2KB  |  137 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 2.OO (plain) - Analysis ON - Postprocessing ON
  17. ;------------------------------------------------------------------------------
  18.  
  19.     Boolean  BOOLEAN001
  20.     Integer  INTEGER001
  21.     Integer  INTEGER002
  22.     Integer  INTEGER003
  23.     String   TSTRING001(6)
  24.     String   TSTRING002(10)
  25.     String   STRING003
  26.     String   STRING004
  27.  
  28. ;------------------------------------------------------------------------------
  29.  
  30.     TSTRING001(1) = PPEPath() + "ONLR.CFG"
  31.     TSTRING001(2) = PPEPath() + "ONLR06.PCB"
  32.     TSTRING001(3) = PPEPath() + "ONLR08.PCB"
  33.     TSTRING001(4) = PPEPath() + "ONLR09.PCB"
  34.     TSTRING001(5) = PPEPath() + "ONLR10.PCB"
  35.     TSTRING001(6) = PPEPath() + "ONLR03.DAT"
  36.     STRING004 = "1.00"
  37.     FOpen 1, TSTRING001(1), 0, 0
  38.     FGet 1, INTEGER001
  39.     FClose 1
  40.     GetUser
  41.     If (U_Sec < INTEGER001) Then
  42.         Goto LABEL003
  43.     Endif
  44.     If (U_TimeOn() < 5) Goto LABEL003
  45.     PrintLn 
  46.     DispFile TSTRING001(3), 1
  47.     STRING003 = "N"
  48.     InputStr "", STRING003, 15, 1, "ynYN", 2 + 8192 + 256
  49.     If (Upper(STRING003) <> YesChar()) Then
  50.         Goto LABEL003
  51.     Endif
  52.     PrintLn 
  53.     DispFile TSTRING001(4), 1
  54.     DispFile TSTRING001(2), 1
  55.     PrintLn 
  56.     Log "- User left a message to the next caller!", 0
  57.     INTEGER002 = 0
  58.     :LABEL001
  59.     If (BOOLEAN001) Goto LABEL002
  60.     INTEGER002 = INTEGER002 + 1
  61.     InputStr "_", TSTRING002(INTEGER002), 15, 78, Mask_Ascii(), 512 + 256
  62.     If ((INTEGER003 == 10) || (TSTRING002(INTEGER002) == "")) Then
  63.         BOOLEAN001 = 1
  64.         Delete TSTRING001(6)
  65.         INTEGER002 = INTEGER002 - 1
  66.         FOpen 1, TSTRING001(6), 2, 0
  67.         FPutLn 1, INTEGER002
  68.         For INTEGER003 = 1 To INTEGER002
  69.             FPutLn 1, TSTRING002(INTEGER003)
  70.         Next
  71.         FClose 1
  72.     Endif
  73.     Goto LABEL001
  74.     :LABEL002
  75.     For INTEGER003 = 1 To INTEGER002
  76.         Log "> " + TSTRING002(INTEGER002 - INTEGER003 + 1), 1
  77.     Next
  78.     :LABEL003
  79.     PrintLn 
  80.     DispFile TSTRING001(5), 1
  81.  
  82. ;------------------------------------------------------------------------------
  83. ;
  84. ; Usage report (before postprocessing)
  85. ;
  86. ; ■ Statements used :
  87. ;
  88. ;    12      Goto 
  89. ;    16      Let 
  90. ;    4       PrintLn 
  91. ;    7       If 
  92. ;    4       DispFile 
  93. ;    2       FOpen 
  94. ;    2       FClose 
  95. ;    1       FGet 
  96. ;    2       FPutLn 
  97. ;    1       GetUser
  98. ;    1       Delete 
  99. ;    2       Log 
  100. ;    2       InputStr 
  101. ;
  102. ;
  103. ; ■ Functions used :
  104. ;
  105. ;    14      +
  106. ;    2       -
  107. ;    2       ==
  108. ;    1       <>
  109. ;    4       <
  110. ;    2       <=
  111. ;    4       >=
  112. ;    6       !
  113. ;    4       &&
  114. ;    3       ||
  115. ;    1       Upper()
  116. ;    1       U_TimeOn()
  117. ;    1       YesChar()
  118. ;    1       Mask_Ascii()
  119. ;    6       PPEPath()
  120. ;
  121. ;------------------------------------------------------------------------------
  122. ;
  123. ; Analysis flags : No flag
  124. ;
  125. ;------------------------------------------------------------------------------
  126. ;
  127. ; Postprocessing report
  128. ;
  129. ;    2       For/Next
  130. ;    0       While/EndWhile
  131. ;    3       If/Then or If/Then/Else
  132. ;    0       Select Case
  133. ;
  134. ;------------------------------------------------------------------------------
  135. ;                 AEGiS Corp - Break the routines, code against the machines!
  136. ;------------------------------------------------------------------------------
  137.