home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Carsten's PPE Collection
/
Carstens_PPE_Collection_2007.zip
/
F
/
FN_SCBC.ZIP
/
DOWNLOAD.PPE
(
.txt
)
< prev
next >
Wrap
PCBoard Programming Language Executable
|
1995-09-02
|
1KB
|
113 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
String STRING001
String STRING002
String STRING003
;------------------------------------------------------------------------------
GetUser
While (TokCount() > 0) Do
STRING001 = STRING001 + " " + GetToken()
EndWhile
Newline
Print "@POFF@@CLS@@X07Scanning Users..."
Shell 1, INTEGER001, PPEPath() + "downup.exe", "d " + Replace(Upper(U_Name()), " ", "_")
STRING002 = ReadLine(PPEPath() + "downup.cfg", 2)
DispFile PPEPath() + "\ansi\download.ans", 0
Print "@PON@"
If (ReadLine(PPEPath() + "downup.cfg", 3) == "Y") Then
AnsiPos 29, 22
InputStr "Press enter to continue_", STRING003, 8, 1, Mask_Ascii(), 4096 + 64
Endif
If (Asc(Left(STRING002, 1)) <> 32) Then
Call STRING002
Else
If (ReadLine(PPEPath() + "downup.cfg", 4) == "Y") KbdStuff "D " + STRING001
Endif
End
;------------------------------------------------------------------------------
;
; Usage report (before postprocessing)
;
; ■ Statements used :
;
; 1 End
; 5 Goto
; 2 Let
; 2 Print
; 4 If
; 1 DispFile
; 1 GetUser
; 1 InputStr
; 1 Newline
; 1 Shell
; 1 KbdStuff
; 1 Call
; 1 AnsiPos
;
;
; ■ Functions used :
;
; 10 +
; 2 ==
; 1 <>
; 1 >
; 3 !
; 1 Upper()
; 1 Left()
; 1 Asc()
; 1 U_Name()
; 1 Replace()
; 1 Mask_Ascii()
; 5 PPEPath()
; 3 ReadLine()
; 1 GetToken()
; 1 TokCount()
;
;------------------------------------------------------------------------------
;
; Analysis flags : SC
;
; S - Shell to DOS ■ 5
; This may be normal if the PPE need to execute an external command,
; but may be actually anything... nasty (formating HD, rebooting,...)
; or usefull (sorting, maintenance,...). Check!
; ■ Search for : SHELL
;
; C - Call child PPE ■ 3
; This is usually normal, but may be a tricky way to launch some
; sysop-only commands.
; ■ Search for : CALL
;
;------------------------------------------------------------------------------
;
; Postprocessing report
;
; 0 For/Next
; 1 While/EndWhile
; 2 If/Then or If/Then/Else
; 0 Select Case
;
;------------------------------------------------------------------------------
; AEGiS Corp - Break the routines, code against the machines!
;------------------------------------------------------------------------------