home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Carsten's PPE Collection
/
Carstens_PPE_Collection_2007.zip
/
S
/
SCUM_LN2.ZIP
/
SCUMLINE.PPE
(
.txt
)
< prev
next >
Wrap
PCBoard Programming Language Executable
|
1994-07-12
|
4KB
|
262 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
Integer INTEGER003
Integer INTEGER004
Integer INTEGER005
String STRING001
String STRING002
String STRING003
String STRING004
String STRING005
String STRING006
String STRING007
String STRING008
String STRING009
String TSTRING010(1000)
String STRING011
String STRING012
String STRING013
String STRING014
String STRING015
String STRING016
String STRING017
String STRING018
;------------------------------------------------------------------------------
:LABEL001
Cls
INTEGER001 = ReadLine(PPEPath() + "SCUMLINE.CFG", 1)
STRING001 = ReadLine(PPEPath() + "SCUMLINE.CFG", 2)
STRING002 = ReadLine(PPEPath() + "SCUMLINE.CFG", 3)
STRING003 = ReadLine(PPEPath() + "SCUMLINE.CFG", 4)
STRING004 = ReadLine(PPEPath() + "SCUMLINE.CFG", 5)
STRING017 = ReadLine(PPEPath() + "SCUMLINE.CFG", 6)
STRING018 = ReadLine(PPEPath() + "SCUMLINE.CFG", 7)
STRING011 = ReadLine(PPEPath() + "SCUMLINE.CFG", 8)
STRING015 = ReadLine(PPEPath() + "SCUMLINE.CFG", 9)
STRING013 = ReadLine(PPEPath() + "SCUMLINE.CFG", 10)
INTEGER005 = ReadLine(PPEPath() + "SCUMLINE.CFG", 11)
STRING016 = ReadLine(PPEPath() + "SCUMLINE.CFG", 12)
STRING005 = PPEPath() + "SCUMLINE.DAT"
If (Exist(STRING005)) Goto LABEL002
FCreate 5, STRING005, 1, 0
For INTEGER002 = 1 To INTEGER001
INTEGER003 = Random(2)
Select Case (INTEGER003)
Case 0
STRING009 = "@X07S@X08cum @X09K@X01icks @X0FA@X07ss!@X08"
Case 1
STRING009 = "@X0CS@X04CuM 94' @X0CR@X04ocks!@X08"
Case 2
STRING009 = "@X0AS@X02cumliners @X0AB@X02y: @X0Br@X03y0 @X0DS@X05CuM @X0DP@X05roductions 94'@X08"
End Select
FPutLn 5, STRING009
Next
FClose 5
:LABEL002
If (Exist(PPEPath() + "SCUMLINE.TOP")) Then
Cls
StartDisp 1
DispFile PPEPath() + "SCUMLINE.TOP", 1
Endif
AnsiPos 1, GetY() - 1
For INTEGER002 = 1 To INTEGER001
STRING008 = ReadLine(STRING005, INTEGER002)
PrintLn STRING002, " ", STRING001, STRING008
Next
If (Exist(PPEPath() + "SCUMLINE.BOT")) Then
StartDisp 1
DispFile PPEPath() + "SCUMLINE.BOT", 1
Endif
AnsiPos 1, GetY() + 1
GetUser
If ((STRING013 == "YES") && (U_Sec > INTEGER005)) Then
STRING003 = STRING017
Endif
InputStr STRING003 + " _", STRING006, 0, 1, "eqEQWw", 8
If (STRING006 == "E") Goto LABEL004
If (STRING006 == "W") Goto LABEL003
If ((STRING006 <> "W") && (STRING006 <> "E")) Goto LABEL007
:LABEL003
GetUser
If (STRING013 <> "YES") Goto LABEL001
If (!(U_Sec >= INTEGER005)) Goto LABEL001
If (!Exist(PPEPath() + "WHO.DAT")) Gosub LABEL009
Cls
If (Exist(PPEPath() + "SCUMLINE.TOP")) Then
DispFile PPEPath() + "SCUMLINE.TOP", 1
Endif
AnsiPos GetX(), GetY() - 1
DispFile PPEPath() + "WHO.DAT", 1
If (Exist(PPEPath() + "SCUMLINE.BOT")) Then
DispFile PPEPath() + "SCUMLINE.BOT", 1
Endif
Wait
Goto LABEL001
:LABEL004
Cls
PrintLn " @X08Scumliners..@X08 v2.0 "
PrintLn " By: @X0Br@X03y0 @X08== @X0CS@X04CuM Productions 94' @X08 "
PrintLn
InputStr STRING004 + " _", STRING007, 0, 75, Mask_Ascii(), 0
:LABEL005
FOpen 7, PPEPath() + "SCUMLINE.DAT", 0, 0
For INTEGER002 = 1 To INTEGER001
FGet 7, TSTRING010(INTEGER002)
Next
FClose 7
TSTRING010(INTEGER001 + 1) = STRING007
FCreate 4, PPEPath() + "SCUMLINE.DAT", 1, 0
For INTEGER002 = 2 To INTEGER001 + 1
FPutLn 4, TSTRING010(INTEGER002)
Next
FClose 4
If (STRING013 == "YES") Then
If (!Exist(PPEPath() + "WHO.DAT")) Gosub LABEL009
FOpen 3, PPEPath() + "WHO.DAT", 2, 0
For INTEGER002 = 1 To INTEGER001
FGet 3, TSTRING010(INTEGER002)
Next
FClose 3
FCreate 4, PPEPath() + "WHO.DAT", 1, 0
For INTEGER002 = 2 To INTEGER001
FPutLn 4, TSTRING010(INTEGER002)
Next
If (STRING007 == STRING015) Then
STRING014 = "@X0FA@X07uto-@X0FA@X07dvertised @X0FW@X07ith @X0CS@X04cumline v2.o By @X0Br@X03y0!@X08"
Goto LABEL006
Endif
STRING014 = U_Name()
:LABEL006
FPutLn 4, STRING016 + STRING014
FClose 4
Endif
Goto LABEL001
:LABEL007
If (Upper(STRING018) == "YES") STRING012 = PPEPath() + "COUNTER.DAT"
If (Exist(STRING012)) Goto LABEL008
FCreate 1, PPEPath() + "COUNTER.DAT", 2, 0
FPutLn 1, 0
FClose 1
:LABEL008
FOpen 2, PPEPath() + "COUNTER.DAT", 2, 0
FGet 2, INTEGER004
If (INTEGER004 >= STRING011) Then
INTEGER004 = 0
Frewind 2
FPutLn 2, INTEGER004
FClose 2
STRING007 = STRING015
GetAltUser 1
Goto LABEL005
Else
Inc INTEGER004
Frewind 2
FPutLn 2, INTEGER004
FClose 2
Endif
End
:LABEL009
FCreate 1, PPEPath() + "WHO.DAT", 1, 0
For INTEGER002 = 1 To INTEGER001
FPutLn 1, "@X0CEXISTED BEFORE WHO.DAT WAS ENABLED@X08"
Next
FClose 1
Return
;------------------------------------------------------------------------------
;
; Usage report (before postprocessing)
;
; ■ Statements used :
;
; 1 End
; 4 Cls
; 1 Wait
; 39 Goto
; 39 Let
; 4 PrintLn
; 28 If
; 5 DispFile
; 5 FCreate
; 3 FOpen
; 9 FClose
; 3 FGet
; 8 FPutLn
; 2 StartDisp
; 2 GetUser
; 2 InputStr
; 2 Gosub
; 1 Return
; 1 Inc
; 3 AnsiPos
; 2 Frewind
; 1 GetAltUser
;
;
; ■ Functions used :
;
; 46 +
; 2 -
; 9 ==
; 3 <>
; 7 <
; 7 <=
; 1 >
; 16 >=
; 22 !
; 16 &&
; 7 ||
; 1 Upper()
; 1 Random()
; 1 U_Name()
; 1 Mask_Ascii()
; 32 PPEPath()
; 13 ReadLine()
; 8 Exist()
; 1 GetX()
; 3 GetY()
;
;------------------------------------------------------------------------------
;
; Analysis flags : R
;
; R - Read user ■ 5
; User records are read, this may signify that someone wants to get
; various informations about a user (for example his password), but
; this may also be normal for a program accessing user records (for
; example a User Editor)
; ■ Search for : GETALTUSER
;
;------------------------------------------------------------------------------
;
; Postprocessing report
;
; 7 For/Next
; 0 While/EndWhile
; 8 If/Then or If/Then/Else
; 1 Select Case
;
;------------------------------------------------------------------------------
; AEGiS Corp - Break the routines, code against the machines!
;------------------------------------------------------------------------------