home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Collection of Hack-Phreak Scene Programs
/
cleanhpvac.zip
/
cleanhpvac
/
PWA-NSP1.ZIP
/
AMI-NFS.PPE
(
.txt
)
< prev
next >
Wrap
PCBoard Programming Language Executable
|
1995-02-05
|
3KB
|
218 lines
;------------------------------------------------------------------------------
; .ss.
; `²²'
; .,sS$Ss,,s$ .,sS$$$Ss. .,sS$Ss,,s$ .ss. .sSs.
; .d$$²^°²$$$$'.d$P²°^^²$P'.d$$²^°²$$$$'.$$$' .$$$²Sb,.
; $$$' .$$$' $$$²Sçsµ²' .$$$' .$$$'.$$$' .$$$' `$$b.
; $$$b,,d$$$' ,$$$b,....,s$$$$b,,d$$$'.$$$;.,$$$' ;$$$
; `²S$$S²²S$$S²°²S$$$$S²°°²S$$$$$$',$$S²°²S$S'.sS$$$P²'
; .sS²°$$$²²°"' d²°'
; .$$² .$$'
; $$$.,d$$'
; `²S$$S²'
;------------------------------------------------------------------------------
; P.P.L.X. 2.OO (C)1996 - Lone Runner / AEGiS CoRP'96
;------------------------------------------------------------------------------
; PPE 2.OO (plain) - Analysis ON - Postprocessing ON
;------------------------------------------------------------------------------
Integer INTEGER001
Integer INTEGER002
String STRING001
String STRING002
String STRING003
String STRING004
String STRING005
String STRING006
String STRING007
String STRING008
String STRING009
String STRING010
;------------------------------------------------------------------------------
FOpen 1, PPEPath() + "AMI-NFS.CFG", 0, 0
FGet 1, STRING004
FGet 1, STRING005
FGet 1, STRING006
FGet 1, STRING007
FClose 1
If (TokCount() <> 0) Then
STRING003 = TokenStr()
Tokenize STRING003
GetToken STRING001
GetToken STRING004
GetToken STRING008
GetToken STRING009
GetToken STRING010
Else
PrintLn
PrintLn "@X01--[ @X03Newscan Pro-PC 1.0 by Mass Murderer [PWA] @X01]-------[ @X03'n ?' for options @X01]--"
PrintLn
If (Exist(PPEPath() + STRING006)) DispFile PPEPath() + STRING006, 0
InputStr " _", STRING001, 7, 8, Mask_Ascii(), 64
Endif
Select Case (Upper(STRING001))
Case "D"
INTEGER002 = Date()
STRING002 = ToDate(INTEGER002)
PrintLn
PrintLn "@X01--[ @X03Newscan Pro-PC 1.0 by Mass Murderer [PWA] @X01]-------[ @X03'n ?' for options @X01]--"
PrintLn
Goto LABEL002
Case "S"
INTEGER002 = U_LDir()
STRING002 = Strip(ToDate(INTEGER002), "-")
Case "T"
INTEGER002 = Date()
STRING002 = Strip(ToDate(INTEGER002), "-")
Case "W"
INTEGER002 = Date() - 7
STRING002 = Strip(ToDate(INTEGER002), "-")
Case "Y"
INTEGER002 = Date() - 1
STRING002 = Strip(ToDate(INTEGER002), "-")
Case "-"
INTEGER002 = Date() - Strip(STRING001, "-")
STRING002 = Strip(ToDate(INTEGER002), "-")
Case ""
INTEGER002 = U_LDir()
STRING002 = Strip(ToDate(INTEGER002), "-")
Case "Q"
Newline
End
Case "?"
If (Exist(PPEPath() + "AMI-NFS.HLP")) DispFile PPEPath() + "AMI-NFS.HLP", 0
End
Case Else
STRING002 = Strip(STRING001, "-")
End Select
Cls
PrintLn
PrintLn "@X01--[ @X03Newscan Pro-PC 1.0 by Mass Murderer [PWA] @X01]-------[ @X03'n ?' for options @X01]--"
PrintLn
Print ReplaceStr(STRING007, "$SCANDATE", String(ToDate(STRING002)))
If (IsNonStop()) Then
KbdStuff "N " + String(STRING002) + " " + STRING004 + " " + STRING008 + " " + STRING009 + " " + STRING010 + " NS" + Chr(13)
Else
If (IsNonStop()) Goto LABEL001
KbdStuff "N " + String(STRING002) + " " + STRING004 + " " + STRING008 + " " + STRING009 + " " + STRING010 + Chr(13)
Endif
:LABEL001
Newline
End
:LABEL002
AnsiPos 1, GetY()
Print STRING005 + " " + STRING002
:LABEL003
STRING001 = ""
STRING001 = Inkey()
If (Upper(STRING001) == "-") Then
Dec INTEGER001
INTEGER002 = Date() + INTEGER001
STRING002 = ToDate(INTEGER002)
Goto LABEL002
ElseIf ((STRING001 == "+") || (STRING001 == "=")) Then
Inc INTEGER001
INTEGER002 = Date() + INTEGER001
STRING002 = ToDate(INTEGER002)
Goto LABEL002
Else
Select Case (Upper(STRING001))
Case "Q"
PrintLn
End
Case Chr(13)
PrintLn
STRING002 = Strip(ToDate(INTEGER002), "-")
Newline
Cls
PrintLn
PrintLn "@X01--[ @X03Newscan Pro-PC 1.0 by Mass Murderer [PWA] @X01]-------[ @X03'n ?' for options @X01]--"
PrintLn
Print ReplaceStr(STRING007, "$SCANDATE", String(ToDate(STRING002)))
If (IsNonStop()) Then
KbdStuff "N " + String(STRING002) + " " + ReadLine(PPEPath() + "AMI-NFS.CFG", 1) + " NS" + Chr(13)
Else
If (IsNonStop()) Goto LABEL004
KbdStuff "N " + String(STRING002) + " " + ReadLine(PPEPath() + "AMI-NFS.CFG", 1) + Chr(13)
Endif
:LABEL004
Newline
End
Case Else
Goto LABEL003
Endif
End Select
;------------------------------------------------------------------------------
;
; Usage report (before postprocessing)
;
; ■ Statements used :
;
; 5 End
; 2 Cls
; 38 Goto
; 23 Let
; 3 Print
; 14 PrintLn
; 20 If
; 2 DispFile
; 1 FOpen
; 1 FClose
; 4 FGet
; 1 InputStr
; 1 Inc
; 1 Dec
; 4 Newline
; 1 Tokenize
; 5 GetToken
; 4 KbdStuff
; 1 AnsiPos
;
;
; ■ Functions used :
;
; 41 +
; 3 -
; 14 ==
; 1 <>
; 18 !
; 1 ||
; 10 Upper()
; 1 Left()
; 5 Chr()
; 7 Date()
; 2 U_LDir()
; 9 Strip()
; 1 Inkey()
; 6 String()
; 1 Mask_Ascii()
; 7 PPEPath()
; 2 ReadLine()
; 2 Exist()
; 1 TokenStr()
; 1 GetY()
; 1 TokCount()
; 2 ReplaceStr()
; 12 ToDate()
; 4 IsNonStop()
;
;------------------------------------------------------------------------------
;
; Analysis flags : No flag
;
;------------------------------------------------------------------------------
;
; Postprocessing report
;
; 0 For/Next
; 0 While/EndWhile
; 5 If/Then or If/Then/Else
; 2 Select Case
;
;------------------------------------------------------------------------------
; AEGiS Corp - Break the routines, code against the machines!
;------------------------------------------------------------------------------