home *** CD-ROM | disk | FTP | other *** search
/ ftp.wwiv.com / ftp.wwiv.com.zip / ftp.wwiv.com / pub / BBS / BCNUK080.ZIP / NUKE.PPE (.txt) < prev    next >
PCBoard Programming Language Executable  |  1994-10-27  |  850b  |  129 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.     Boolean  BOOLEAN002
  21.     String   STRING001
  22.  
  23. ;------------------------------------------------------------------------------
  24.  
  25.     Call PPEPath() + "main.ppe"
  26.     If (Upper(ReadLine(PPEPath() + "nuke.cfg", 11)) <> "YES") Then
  27.         BOOLEAN002 = 0
  28.         Goto LABEL002
  29.     Else
  30.         BOOLEAN002 = 1
  31.     Endif
  32.     DefColor
  33.     Cls
  34.     If (Exist(PPEPath() + "nukelst")) Then
  35.         STRING001 = PPEPath() + "text"
  36.         Print ReadLine(STRING001, 114)
  37.         FreshLine
  38.         If (OnLocal()) SaveScrn
  39.         Shell 0, BOOLEAN001, PPEPath() + "top.exe", PPEPath() + " " + "NOCARE" + " " + "1" + " " + "1"
  40.         If (OnLocal()) RestScrn
  41.         If (BOOLEAN001 == 2) Then
  42.             Goto LABEL001
  43.         Endif
  44.         If (BOOLEAN001) Then
  45.             PrintLn ReadLine(STRING001, 115)
  46.             Wait
  47.             FClose -1
  48.             Delete PPEPath() + "running"
  49.             End
  50.         Endif
  51.         :LABEL001
  52.         FClose -1
  53.         Delete PPEPath() + "nukelst"
  54.     Endif
  55.     :LABEL002
  56.     FClose -1
  57.     Delete PPEPath() + "running"
  58.     If (BOOLEAN002) Then
  59.         DispFile PPEPath() + "topblt", 0
  60.         Wait
  61.     Endif
  62.     End
  63.  
  64. ;------------------------------------------------------------------------------
  65. ;
  66. ; Usage report (before postprocessing)
  67. ;
  68. ; ■ Statements used :
  69. ;
  70. ;    2       End
  71. ;    1       Cls
  72. ;    2       Wait
  73. ;    8       Goto 
  74. ;    3       Let 
  75. ;    1       Print 
  76. ;    1       PrintLn 
  77. ;    7       If 
  78. ;    1       DispFile 
  79. ;    3       FClose 
  80. ;    1       DefColor
  81. ;    3       Delete 
  82. ;    1       Shell 
  83. ;    1       Call 
  84. ;    1       FreshLine
  85. ;    1       SaveScrn
  86. ;    1       RestScrn
  87. ;
  88. ;
  89. ; ■ Functions used :
  90. ;
  91. ;    3       -
  92. ;    15      +
  93. ;    1       ==
  94. ;    1       <>
  95. ;    5       !
  96. ;    1       Upper()
  97. ;    10      PPEPath()
  98. ;    3       ReadLine()
  99. ;    2       OnLocal()
  100. ;    1       Exist()
  101. ;
  102. ;------------------------------------------------------------------------------
  103. ;
  104. ; Analysis flags : SC
  105. ;
  106. ; S - Shell to DOS ■ 5
  107. ;     This may be normal if the PPE need to execute an external command,
  108. ;     but may be actually anything... nasty (formating HD, rebooting,...)
  109. ;     or usefull (sorting, maintenance,...). Check!
  110. ;     ■ Search for : SHELL
  111. ;
  112. ; C - Call child PPE ■ 3
  113. ;     This is usually normal, but may be a tricky way to launch some
  114. ;     sysop-only commands.
  115. ;     ■ Search for : CALL
  116. ;
  117. ;------------------------------------------------------------------------------
  118. ;
  119. ; Postprocessing report
  120. ;
  121. ;    0       For/Next
  122. ;    0       While/EndWhile
  123. ;    5       If/Then or If/Then/Else
  124. ;    0       Select Case
  125. ;
  126. ;------------------------------------------------------------------------------
  127. ;                 AEGiS Corp - Break the routines, code against the machines!
  128. ;------------------------------------------------------------------------------
  129.