home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Monster Media 1994 #1
/
monster.zip
/
monster
/
PCBOARD
/
URT_PROX.ZIP
/
PROX.PPE
(
.txt
)
< prev
next >
Wrap
PCBoard Programming Language Executable
|
1994-03-13
|
8KB
|
365 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 STRING010
String STRING011
String STRING012
String STRING013
String STRING014
String STRING015
String STRING016
String TSTRING017(16)
String STRING018
String STRING019
String STRING020
String STRING021
String STRING022
String STRING023
String STRING024
String STRING025
String STRING026
String STRING027
String STRING028
String STRING029
String STRING030
String STRING031
;------------------------------------------------------------------------------
PrintLn "@CLS@"
FOpen 1, PPEPath() + "PROX.CNF", 0, 2
FGet 1, STRING001
FClose 1
Color 9
PrintLn
PrintLn " @X0FPro@X08/@X0FX v2@X08.@X0F0 @X01[@X09PPE@X01] @X0FBy .\\eNTaL CLoWN"
PrintLn
PrintLn
PrintLn
PrintLn
PrintLn " @X07Press @X0F[@X07TAB@X0F] @X07to continue "
While (Inkey() <> Chr(9)) Do
StartDisp 1
Color Random(15)
AnsiPos 1, 5
PrintLn Space((80 - Len(Trim(STRING001, " "))) / 2) + STRING001
EndWhile
AnsiPos 1, 5
Color 15
PrintLn Space((80 - Len(Trim(STRING001, " "))) / 2) + STRING001
AnsiPos 1, 10
InputStr "@X09Do you want do a Turbo Logon(y/n): _", STRING004, 8, 1, Mask_Ascii(), 32 + 8
If (STRING004 <> "Y") Then
PrintLn "@CLS@"
StartDisp 1
DispFile PPEPath() + "STATS.dsp", 1
PrintLn " @X07Press @X08[@X07TAB@X08]."
While (Inkey() <> Chr(9)) Do
EndWhile
Print "@CLS@"
PrintLn " @X07LAST 10 Callers v2@X08.@X070 @X08[@X0FPPE@X08] @X07By .\\ental Clown"
PrintLn "@X08▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄@X07"
PrintLn "@X70Speed@X71│@X70 Alias @X71│ @X70Group···Location @X71│@X70 On @X71│@X70No. of Calls @X07"
PrintLn "@X0F▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀@X07"
DispFile PPEPath() + "BLT99.", 1
AnsiPos 1, 15
PrintLn "@X08───────────────────────────────────────────────────────────────────────────────@X08"
PrintLn " @X08[ @X08] @X07Press @X0F[@X08TAB@X0F] @X07to continue @X08[ @X08]"
While (Inkey() <> Chr(9)) Do
EndWhile
Cls
FOpen 1, PPEPath() + "AUTOMSG.LST", 2, 3
FGet 1, STRING019
FGet 1, STRING020
FGet 1, STRING021
FGet 1, STRING022
FGet 1, STRING023
FGet 1, STRING024
FGet 1, STRING025
FGet 1, STRING026
FGet 1, STRING027
FGet 1, STRING028
FGet 1, STRING029
FGet 1, STRING030
FClose 1
PrintLn "@X08▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄@X07"
PrintLn "@X70 @X07"
AnsiPos 1, 2
PrintLn "@X70" + Space((69 - Len(Trim(STRING001, " "))) / 2) + "@X70" + STRING001 + " Automessage"
PrintLn "@X0F▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀@X07"
AnsiPos 1, 14
PrintLn "@X08▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄@X07"
PrintLn "@X70 @X07"
PrintLn "@X0F▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀@X07"
AnsiPos 1, 15
PrintLn "@X70 " + STRING029 + "@X07"
If (STRING030 == "Y") Then
AnsiPos 1, 4
PrintLn Space((80 - Len(Trim(STRING019, " "))) / 2) + STRING019
PrintLn Space((80 - Len(Trim(STRING020, " "))) / 2) + STRING020
PrintLn Space((80 - Len(Trim(STRING021, " "))) / 2) + STRING021
PrintLn Space((80 - Len(Trim(STRING022, " "))) / 2) + STRING022
PrintLn Space((80 - Len(Trim(STRING023, " "))) / 2) + STRING023
PrintLn Space((80 - Len(Trim(STRING024, " "))) / 2) + STRING024
PrintLn Space((80 - Len(Trim(STRING025, " "))) / 2) + STRING025
PrintLn Space((80 - Len(Trim(STRING026, " "))) / 2) + STRING026
PrintLn Space((80 - Len(Trim(STRING027, " "))) / 2) + STRING027
PrintLn Space((80 - Len(Trim(STRING028, " "))) / 2) + STRING028
Goto LABEL001
Endif
AnsiPos 1, 4
PrintLn STRING019
PrintLn STRING020
PrintLn STRING021
PrintLn STRING022
PrintLn STRING023
PrintLn STRING024
PrintLn STRING025
PrintLn STRING026
PrintLn STRING027
PrintLn STRING028
:LABEL001
AnsiPos 1, 18
PrintLn
PrintLn "@X07Press @X0F[@X07TAB@X0F]."
While (Inkey() <> Chr(9)) Do
EndWhile
INTEGER002 = 0
INTEGER001 = 0
FOpen 1, PPEPath() + "PROX.CNF", 2, 3
FGet 1, INTEGER002
FClose 1
GetUser
INTEGER001 = U_Sec
If (INTEGER001 >= INTEGER002) Then
AnsiPos 1, 19
InputStr "@X07Do you want to add your own automessage(Y/n): _", STRING005, 8, 1, Mask_Ascii(), 1024 + 8
If (STRING005 <> "N") Then
Cls
PrintLn "@X09Enter your Automessage Below."
PrintLn "@X08┌─────────────────────────────────────────────────┐"
PrintLn "@X08│ │"
PrintLn "@X08│ │"
PrintLn "@X08│ │ @X09Pro@X08/@X09X v2.0"
PrintLn "@X08│ │ @X09Auto Message Editor"
PrintLn "@X08│ │ @X08───────────────────"
PrintLn "@X08│ │"
PrintLn "@X08│ │"
PrintLn "@X08│ │"
PrintLn "@X08│ │"
PrintLn "@X08│ │"
PrintLn "@X08└─────────────────────────────────────────────────┘"
AnsiPos 2, 3
InputText "> _", STRING006, 7, 45
AnsiPos 2, 3
Print " "
AnsiPos 2, 4
InputText "> _", STRING007, 7, 45
AnsiPos 2, 4
Print " "
AnsiPos 2, 5
InputText "> _", STRING008, 7, 45
AnsiPos 2, 5
Print " "
AnsiPos 2, 6
InputText "> _", STRING009, 7, 45
AnsiPos 2, 6
Print " "
AnsiPos 2, 7
InputText "> _", STRING010, 7, 45
AnsiPos 2, 7
Print " "
AnsiPos 2, 8
InputText "> _", STRING011, 7, 45
AnsiPos 2, 8
Print " "
AnsiPos 2, 9
InputText "> _", STRING012, 7, 45
AnsiPos 2, 9
Print " "
AnsiPos 2, 10
InputText "> _", STRING013, 7, 45
AnsiPos 2, 10
Print " "
AnsiPos 2, 11
InputText "> _", STRING014, 7, 45
AnsiPos 2, 11
Print " "
AnsiPos 2, 12
InputText "> _", STRING015, 7, 45
AnsiPos 2, 12
Print " "
AnsiPos 2, 14
InputStr "@X07Do you wish to centre the passage:_", STRING031, 7, 1, Mask_Ascii(), 8
FCreate 1, PPEPath() + "AUTOMSG.LST", 1, 0
STRING016 = U_Name()
FPutLn 1, STRING006
FPutLn 1, STRING007
FPutLn 1, STRING008
FPutLn 1, STRING009
FPutLn 1, STRING010
FPutLn 1, STRING011
FPutLn 1, STRING012
FPutLn 1, STRING013
FPutLn 1, STRING014
FPutLn 1, STRING015
FPutLn 1, " @X70Written By " + STRING016 + "@X70 DATE : @SYSDATE@"
FPutLn 1, STRING031
FClose 1
PrintLn "@X09Auto Message Saved."
Endif
Endif
INTEGER003 = NoChar()
INTEGER003 = 16
Print "@CLS@"
PrintLn "@X0F" + Space((71 - Len(Trim(STRING001, " "))) / 2) + STRING001 + " Oneliners"
PrintLn "@X07──────────────────────────────────────────────────────────────────────────────@X07"
DispFile PPEPath() + "ONELINER.LST", 1
PrintLn "@X07──────────────────────────────────────────────────────────────────────────────@X07"
PrintLn
InputStr "@X0FDo you want to add your own ONELINER(Y/n) _", STRING003, 7, 1, Mask_Ascii(), 8
If (STRING003 <> "N") Then
Color 3
Cls
PrintLn "@X08──────────────────────────────────────────────────────────────────────────────@X07"
PrintLn "@X08▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ @X08│@X0FOne@X08-@X0FLiner Limit @X0775 @X0FChars.@X08 │"
PrintLn "@X70 One-Liner Editor @X08 │@X0FUse The @X09@X @X08+ @X0FNumerical Value of Colors@X08 │"
PrintLn "@X70 Add One-Liner Below @X08 │@X0Ffor Color@X08. @X08│"
PrintLn "@X0F▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ @X08│ │"
PrintLn "@X08──────────────────────────────────────────────────────────────────────────────@X07"
PrintLn
InputStr "> _", STRING002, 7, 75, Mask_Ascii(), 1024
If (Len(STRING002) == 0) Goto LABEL003
Endif
FAppend 1, PPEPath() + "ONELINER.LST", 2, 0
FClose 1
INTEGER005 = 16
FOpen 1, PPEPath() + "ONELINER.LST", 2, 3
INTEGER004 = 1
While (!Ferr(1) && (INTEGER004 <= INTEGER005)) Do
FGet 1, STRING018
TSTRING017(INTEGER004) = STRING018
Inc INTEGER004
EndWhile
FClose 1
FCreate 1, PPEPath() + "ONELINER.LST", 2, 0
If (INTEGER004 >= INTEGER005) Then
INTEGER004 = 1
While ((Len(TSTRING017(INTEGER004 + 1)) > 0) && (INTEGER004 <= INTEGER005)) Do
FPutLn 1, TSTRING017(INTEGER004 + 1)
INTEGER004 = INTEGER004 + 1
EndWhile
Goto LABEL002
Endif
INTEGER004 = 1
While (Len(TSTRING017(INTEGER004)) > 0) Do
FPutLn 1, TSTRING017(INTEGER004)
Inc INTEGER004
EndWhile
:LABEL002
FPutLn 1, STRING002
FClose 1
PrintLn
Endif
:LABEL003
Cls
PrintLn " @X08─═ @X0FPro/X v2.0 By Mental Clown @X08═─"
;------------------------------------------------------------------------------
;
; Usage report (before postprocessing)
;
; ■ Statements used :
;
; 4 Cls
; 4 Color
; 23 Goto
; 12 Let
; 12 Print
; 75 PrintLn
; 14 If
; 3 DispFile
; 2 FCreate
; 4 FOpen
; 1 FAppend
; 7 FClose
; 15 FGet
; 15 FPutLn
; 2 StartDisp
; 1 GetUser
; 5 InputStr
; 2 Inc
; 10 InputText
; 32 AnsiPos
;
;
; ■ Functions used :
;
; 14 /
; 38 +
; 14 -
; 2 ==
; 7 <>
; 2 <=
; 2 >
; 2 >=
; 14 !
; 2 &&
; 17 Len(
; 14 Space()
; 1 Ferr()
; 4 Chr()
; 14 Trim()
; 1 Random()
; 1 U_Name()
; 1 NoChar()
; 4 Inkey()
; 5 Mask_Ascii()
; 10 PPEPath()
;
;------------------------------------------------------------------------------
;
; Analysis flags : No flag
;
;------------------------------------------------------------------------------
;
; Postprocessing report
;
; 0 For/Next
; 7 While/EndWhile
; 6 If/Then or If/Then/Else
; 0 Select Case
;
;------------------------------------------------------------------------------
; AEGiS Corp - Break the routines, code against the machines!
;------------------------------------------------------------------------------