home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Carsten's PPE Collection
/
Carstens_PPE_Collection_2007.zip
/
S
/
SCUMEM15.ZIP
/
EMAIL.PPE
(
.txt
)
< prev
next >
Wrap
PCBoard Programming Language Executable
|
1994-04-13
|
4KB
|
261 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
;------------------------------------------------------------------------------
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
;------------------------------------------------------------------------------
FOpen 1, PPEPath() + "EMAIL.CFG", 0, 0
FGet 1, STRING001
FGet 1, STRING002
If (Exist(PPEPath() + STRING002)) Goto LABEL001
FreshLine
PrintLn "@X0C" + PPEPath() + STRING002 + " DOES NOT EXIST!@X07"
:LABEL001
FGet 1, STRING003
If (Exist(PPEPath() + STRING003)) Goto LABEL002
FreshLine
PrintLn "@X0C" + PPEPath() + STRING003 + " DOES NOT EXIST!@X07"
:LABEL002
FGet 1, STRING004
If (Exist(PPEPath() + STRING004)) Goto LABEL003
FreshLine
PrintLn "@X0C" + PPEPath() + STRING004 + " DOES NOT EXIST!@X07"
:LABEL003
FGet 1, STRING005
If (Exist(PPEPath() + STRING005)) Goto LABEL004
FreshLine
PrintLn "@X0C" + PPEPath() + STRING005 + " DOES NOT EXIST!@X07"
:LABEL004
FGet 1, STRING006
If (Exist(PPEPath() + STRING006)) Goto LABEL005
FreshLine
PrintLn "@X0C" + PPEPath() + STRING006 + " DOES NOT EXIST!@X07"
:LABEL005
FGet 1, STRING015
FClose 1
:LABEL006
Cls
GetUser
U_FSE = 1
STRING007 = U_Name()
STRING010 = U_RecNum(STRING007)
If (STRING001 == 0) Gosub LABEL007
If (U_Expert == 1) Gosub LABEL008
AnsiPos 28, 11
PrintLn "@X0FR@X07e@X08gistered To: [@X08" + STRING015 + "@X0F]"
AnsiPos 25, 12
PrintLn "@X0FE@X07m@X08ail 1.1 By: @X0FH@X08er@X0Fo @X08'94 @X0Fi@X08MAGE@X0F/@X08AcE"
Delay 18
:LABEL007
DispFile PPEPath() + STRING005, 0
:LABEL008
PrintLn Chr(13)
STRING013 = ""
While ((STRING013 == "")) STRING013 = Inkey()
If (STRING013 == "p") Gosub LABEL009
If (STRING013 == "P") Gosub LABEL009
If (STRING013 == "e") Gosub LABEL013
If (STRING013 == "E") Gosub LABEL013
If (STRING013 == "r") Gosub LABEL014
If (STRING013 == "R") Gosub LABEL014
If (STRING013 == "q") Gosub LABEL020
If (STRING013 == "Q") Gosub LABEL020
If (STRING013 == "g") Gosub LABEL019
If (STRING013 == "G") Gosub LABEL019
If (STRING013 == Chr(13)) Gosub LABEL020
If (STRING013 == "?") Gosub LABEL007
If (STRING013 == "x") U_Expert = 0
If (STRING013 == "X") U_Expert = 0
Gosub LABEL006
:LABEL009
Cls
If (STRING001 == 0) Gosub LABEL010
If (U_Expert == 1) Gosub LABEL011
:LABEL010
STRING008 = ""
DispFile PPEPath() + STRING006, 0
:LABEL011
PrintLn ""
InputStr "@X0FW@X07h@X08at conference do you want to enter a message t@X07o@X0F?@X80", STRING008, 15, 2, Mask_Ascii(), 256
If (U_InConf(STRING010, STRING008) == 0) PrintLn "You Aren't Registered In that Conference!"
If (U_InConf(STRING010, STRING008) == 0) Gosub LABEL010
If (STRING008 == "") Gosub LABEL020
If (STRING008 == "?") Gosub LABEL010
If (STRING008 == "1") Gosub LABEL012
If (STRING008 == "2") Gosub LABEL012
If (STRING008 == "3") Gosub LABEL012
If (STRING008 == "4") Gosub LABEL012
If (STRING008 == "5") Gosub LABEL012
If (STRING008 == "6") Gosub LABEL012
If (STRING008 == "7") Gosub LABEL012
If (STRING008 == "8") Gosub LABEL012
If (STRING008 == "9") Gosub LABEL012
If (STRING008 == "10") Gosub LABEL012
Goto LABEL012
Cls
Gosub LABEL007
:LABEL012
STRING011 = ""
DispFile PPEPath() + STRING004, 0
AnsiPos 31, 5
InputStr "@X80", STRING011, 15, 23, Mask_Ascii(), 256
If (STRING011 == "") Gosub LABEL006
If (STRING011 == "ME") Gosub LABEL012
If (STRING011 == "me") Gosub LABEL012
If (STRING011 == "?") Gosub LABEL012
U_FSE = 1
AnsiPos 0, 23
Join STRING008
KbdStuff "e" + Chr(13) + Chr(13) + STRING011 + Chr(13) + Chr(13)
End
:LABEL013
STRING009 = ""
U_FSE = 1
PrintLn Chr(13)
DispFile PPEPath() + STRING002, 0
While (STRING009 == "") Do
AnsiPos 31, 5
InputStr "@X80", STRING009, 15, 23, Mask_Ascii(), 256
If (STRING009 == "") Gosub LABEL006
AnsiPos 31, 8
InputStr "@X80", STRING011, 15, 23, Mask_Ascii(), 256
If (STRING011 == "") Gosub LABEL006
AnsiPos 31, 11
InputYN "@X80", STRING012, 15
EndWhile
KbdStuff "e" + Chr(13) + STRING009 + Chr(13) + STRING011 + Chr(13) + "r" + Chr(13) + STRING012 + Chr(13)
End
:LABEL014
STRING014 = ""
If (STRING001 == 0) Gosub LABEL015
If (U_Expert == 1) Gosub LABEL016
:LABEL015
DispFile PPEPath() + STRING003, 0
:LABEL016
While ((STRING014 == "")) STRING014 = Inkey()
If (STRING014 == "y") Gosub LABEL017
If (STRING014 == "Y") Gosub LABEL017
If (STRING014 == "a") Gosub LABEL018
If (STRING014 == "A") Gosub LABEL018
If (STRING014 == "") Gosub LABEL006
If (STRING014 == "q") Gosub LABEL006
If (STRING014 == "Q") Gosub LABEL006
If (STRING014 == "g") Gosub LABEL019
If (STRING014 == "G") Gosub LABEL019
Gosub LABEL007
:LABEL017
KbdStuff "r;y;s" + Chr(13)
Gosub LABEL020
:LABEL018
KbdStuff "r;a;s" + Chr(13)
Gosub LABEL020
:LABEL019
PutUser
FreshLine
PrintLn "@X08 EMAiL PPE By HERo '94 iMAGE/AcE/WoRLd oF iLLuSiOn"
Hangup
:LABEL020
PutUser
Cls
End
;------------------------------------------------------------------------------
;
; Usage report (before postprocessing)
;
; ■ Statements used :
;
; 3 End
; 4 Cls
; 10 Goto
; 14 Let
; 12 PrintLn
; 57 If
; 5 DispFile
; 1 FOpen
; 1 FClose
; 7 FGet
; 1 Hangup
; 1 GetUser
; 2 PutUser
; 4 InputStr
; 1 InputYN
; 51 Gosub
; 1 Delay
; 4 KbdStuff
; 1 Join
; 7 AnsiPos
; 6 FreshLine
;
;
; ■ Functions used :
;
; 44 +
; 52 ==
; 6 !
; 14 Chr()
; 1 U_Name()
; 2 Inkey()
; 4 Mask_Ascii()
; 16 PPEPath()
; 5 Exist()
; 1 U_RecNum()
; 2 U_InConf()
;
;------------------------------------------------------------------------------
;
; Analysis flags : WB
;
; W - Write user ■ 5
; Program writes a user record. Although this may be normal for a
; User Editor, it may also be a way to modify an account level.
; ■ Search for : PUTUSER
;
; B - Brute hangup ■ 1
; Program hangup without notification. This may be a good way to
; disconnect a user, but if used randomly, may be very nasty
; ■ Search for : HANGUP, DTROFF
;
;------------------------------------------------------------------------------
;
; Postprocessing report
;
; 0 For/Next
; 1 While/EndWhile
; 0 If/Then or If/Then/Else
; 0 Select Case
;
;------------------------------------------------------------------------------
; AEGiS Corp - Break the routines, code against the machines!
;------------------------------------------------------------------------------