home *** CD-ROM | disk | FTP | other *** search
/ Collection of Hack-Phreak Scene Programs / cleanhpvac.zip / cleanhpvac / PWANK082.ZIP / BCNUKE.PPE (.txt) < prev    next >
PCBoard Programming Language Executable  |  1995-04-09  |  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 3.O1 (Encryption type I) - Analysis ON - Postprocessing ON
  17. ;------------------------------------------------------------------------------
  18.  
  19.     Boolean  BOOLEAN001
  20.     String   STRING001
  21.     String   STRING002
  22.     String   STRING003
  23.     String   STRING004
  24.     String   STRING005
  25.  
  26. ;------------------------------------------------------------------------------
  27.  
  28.     STRING003 = GetToken()
  29.     STRING001 = PPEPath() + "bcnuke.cfg"
  30.     If (Exist(STRING001)) Goto LABEL001
  31.     FreshLine
  32.     PrintLn "Error: Flag.ppe is setup to use NUKE.PPE but cannot"
  33.     PrintLn "find BCNUKE.CFG, please contact sysop"
  34.     End
  35.     :LABEL001
  36.     BOOLEAN001 = 0
  37.     If (Exist(PPEPath() + "USERS.CFG")) Then
  38.         GetUser
  39.         FOpen 1, PPEPath() + "USERS.CFG", 0, 2
  40.         FGet 1, STRING005
  41.         :LABEL002
  42.         If (Ferr(1)) Goto LABEL003
  43.         If (Upper(STRING005) == Upper(U_Name())) Then
  44.             BOOLEAN001 = 1
  45.             FClose 1
  46.             Goto LABEL003
  47.         Endif
  48.         FGet 1, STRING005
  49.         Goto LABEL002
  50.         :LABEL003
  51.         FClose 1
  52.     Endif
  53.     If (BOOLEAN001 == 0) Then
  54.         Print "@X0CSorry, you are not allowed to nuke files.@X07"
  55.         Delay 25
  56.         Newline
  57.         End
  58.     Endif
  59.     STRING002 = ReadLine(STRING001, 1) + "\work\bcnk" + String(CurConf()) + "." + String(PcbNode())
  60.     If (Upper(ReadLine(STRING002, 1)) <> U_Name()) Then
  61.         FClose -1
  62.         Delete STRING002
  63.         FAppend 1, STRING002, 1, 0
  64.         FPutLn 1, U_Name()
  65.     Else
  66.         FClose -1
  67.         FAppend 1, STRING002, 1, 0
  68.     Endif
  69.     STRING004 = String(PCBMac("@DIRNUM@"))
  70.     If (STRING004 == "") Then
  71.         STRING004 = String(PCBMac("@NUMDIR@"))
  72.     Endif
  73.     If (STRING003 <> "") FPutLn 1, STRING003 + " " + STRING004
  74.     FClose 1
  75.     Print "@X0CFile flagged for nuking.  Don't forget to run NUKE!@X07"
  76.     Delay 25
  77.  
  78. ;------------------------------------------------------------------------------
  79. ;
  80. ; Usage report (before postprocessing)
  81. ;
  82. ; ■ Statements used :
  83. ;
  84. ;    2       End
  85. ;    10      Goto 
  86. ;    7       Let 
  87. ;    2       Print 
  88. ;    2       PrintLn 
  89. ;    8       If 
  90. ;    1       FOpen 
  91. ;    2       FAppend 
  92. ;    5       FClose 
  93. ;    2       FGet 
  94. ;    2       FPutLn 
  95. ;    1       GetUser
  96. ;    1       Delete 
  97. ;    2       Delay 
  98. ;    1       Newline
  99. ;    1       FreshLine
  100. ;
  101. ;
  102. ; ■ Functions used :
  103. ;
  104. ;    2       -
  105. ;    9       +
  106. ;    3       ==
  107. ;    2       <>
  108. ;    7       !
  109. ;    3       Upper()
  110. ;    1       Ferr()
  111. ;    3       U_Name()
  112. ;    4       String()
  113. ;    1       CurConf()
  114. ;    3       PPEPath()
  115. ;    1       PcbNode()
  116. ;    2       ReadLine()
  117. ;    1       GetToken()
  118. ;    2       Exist()
  119. ;    2       PCBMac()
  120. ;
  121. ;------------------------------------------------------------------------------
  122. ;
  123. ; Analysis flags : No flag
  124. ;
  125. ;------------------------------------------------------------------------------
  126. ;
  127. ; Postprocessing report
  128. ;
  129. ;    0       For/Next
  130. ;    0       While/EndWhile
  131. ;    5       If/Then or If/Then/Else
  132. ;    0       Select Case
  133. ;
  134. ;------------------------------------------------------------------------------
  135. ;                 AEGiS Corp - Break the routines, code against the machines!
  136. ;------------------------------------------------------------------------------
  137.