home *** CD-ROM | disk | FTP | other *** search
/ Carsten's PPE Collection / Carstens_PPE_Collection_2007.zip / F / FTA-PRIV.ZIP / FTA-PRIV.PPE (.txt) < prev    next >
PCBoard Programming Language Executable  |  1995-08-16  |  972b  |  104 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 3.O1 (Encryption type I) - Analysis ON - Postprocessing ON
  17. ;------------------------------------------------------------------------------
  18.  
  19.     Boolean  BOOLEAN001
  20.     Integer  INTEGER001
  21.     Integer  INTEGER002
  22.     String   STRING001
  23.  
  24. ;------------------------------------------------------------------------------
  25.  
  26.     GetUser
  27.     BOOLEAN001 = 0
  28.     If (!Exist(PPEPath() + "USERS." + String(PcbNode()))) Stop
  29.     FOpen 1, PPEPath() + "USERS." + String(PcbNode()), 0, 0
  30.     FGet 1, INTEGER001
  31.     For INTEGER002 = 1 To INTEGER001
  32.         FGet 1, STRING001
  33.         If (Upper(STRING001) == Upper(U_Name())) Then
  34.             BOOLEAN001 = 1
  35.             Break
  36.         Endif
  37.     Next
  38.     FClose 1
  39.     If (BOOLEAN001 == 0) Then
  40.         DispFile PPEPath() + "PRIVATE.PCB", 0
  41.         Delay 20
  42.         Hangup
  43.     Endif
  44.     End
  45.  
  46. ;------------------------------------------------------------------------------
  47. ;
  48. ; Usage report (before postprocessing)
  49. ;
  50. ; ■ Statements used :
  51. ;
  52. ;    1       End
  53. ;    5       Goto 
  54. ;    4       Let 
  55. ;    4       If 
  56. ;    1       DispFile 
  57. ;    1       FOpen 
  58. ;    1       FClose 
  59. ;    2       FGet 
  60. ;    1       Hangup
  61. ;    1       GetUser
  62. ;    1       Delay 
  63. ;    1       Stop
  64. ;
  65. ;
  66. ; ■ Functions used :
  67. ;
  68. ;    6       +
  69. ;    2       ==
  70. ;    1       <
  71. ;    1       <=
  72. ;    2       >=
  73. ;    4       !
  74. ;    2       &&
  75. ;    1       ||
  76. ;    2       Upper()
  77. ;    1       U_Name()
  78. ;    2       String()
  79. ;    3       PPEPath()
  80. ;    2       PcbNode()
  81. ;    1       Exist()
  82. ;
  83. ;------------------------------------------------------------------------------
  84. ;
  85. ; Analysis flags : B
  86. ;
  87. ; B - Brute hangup ■ 1
  88. ;     Program hangup without notification. This may be a good way to
  89. ;     disconnect a user, but if used randomly, may be very nasty
  90. ;     ■ Search for : HANGUP, DTROFF
  91. ;
  92. ;------------------------------------------------------------------------------
  93. ;
  94. ; Postprocessing report
  95. ;
  96. ;    1       For/Next
  97. ;    0       While/EndWhile
  98. ;    2       If/Then or If/Then/Else
  99. ;    0       Select Case
  100. ;
  101. ;------------------------------------------------------------------------------
  102. ;                 AEGiS Corp - Break the routines, code against the machines!
  103. ;------------------------------------------------------------------------------
  104.