home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Monster Media 1994 #1
/
monster.zip
/
monster
/
PCBOARD
/
EMA11ACE.ZIP
/
EMAIL.PPE
(
.txt
)
< prev
next >
Wrap
PCBoard Programming Language Executable
|
1994-03-08
|
4KB
|
237 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
FGet 1, STRING003
FGet 1, STRING004
FGet 1, STRING005
FGet 1, STRING006
FGet 1, STRING015
FClose 1
U_FSE = 1
STRING007 = U_Name()
STRING010 = U_RecNum(STRING007)
:LABEL001
Cls
GetUser
If (STRING001 == 0) Gosub LABEL002
If (U_Expert == 1) Gosub LABEL003
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
:LABEL002
DispFile PPEPath() + STRING005, 0
:LABEL003
PrintLn Chr(13)
STRING013 = ""
While ((STRING013 == "")) STRING013 = Inkey()
If (STRING013 == "p") Gosub LABEL004
If (STRING013 == "P") Gosub LABEL004
If (STRING013 == "e") Gosub LABEL008
If (STRING013 == "E") Gosub LABEL008
If (STRING013 == "r") Gosub LABEL009
If (STRING013 == "R") Gosub LABEL009
If (STRING013 == "q") Gosub LABEL015
If (STRING013 == "Q") Gosub LABEL015
If (STRING013 == "g") Gosub LABEL014
If (STRING013 == "G") Gosub LABEL014
If (STRING013 == Chr(13)) Gosub LABEL015
If (STRING013 == "?") Gosub LABEL002
If (STRING013 == "x") U_Expert = 0
If (STRING013 == "X") U_Expert = 0
Gosub LABEL001
:LABEL004
Cls
If (STRING001 == 0) Gosub LABEL005
If (U_Expert == 1) Gosub LABEL006
:LABEL005
STRING008 = ""
DispFile PPEPath() + STRING006, 0
:LABEL006
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 LABEL005
If (STRING008 == "") Gosub LABEL015
If (STRING008 == "?") Gosub LABEL005
If (STRING008 == "1") Gosub LABEL007
If (STRING008 == "2") Gosub LABEL007
If (STRING008 == "3") Gosub LABEL007
If (STRING008 == "4") Gosub LABEL007
If (STRING008 == "5") Gosub LABEL007
If (STRING008 == "6") Gosub LABEL007
If (STRING008 == "7") Gosub LABEL007
If (STRING008 == "8") Gosub LABEL007
If (STRING008 == "9") Gosub LABEL007
If (STRING008 == "10") Gosub LABEL007
Cls
Gosub LABEL002
:LABEL007
STRING011 = ""
DispFile PPEPath() + STRING004, 0
AnsiPos 31, 5
InputStr "@X80", STRING011, 15, 23, Mask_Ascii(), 256
If (STRING011 == "") Gosub LABEL001
If (STRING011 == "ME") Gosub LABEL007
If (STRING011 == "me") Gosub LABEL007
If (STRING011 == "?") Gosub LABEL007
U_FSE = 1
AnsiPos 0, 23
Join STRING008
KbdStuff "e" + Chr(13) + Chr(13) + STRING011 + Chr(13) + Chr(13)
End
:LABEL008
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 LABEL001
AnsiPos 31, 8
InputStr "@X80", STRING011, 15, 23, Mask_Ascii(), 256
If (STRING011 == "") Gosub LABEL001
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
:LABEL009
STRING014 = ""
If (STRING001 == 0) Gosub LABEL010
If (U_Expert == 1) Gosub LABEL011
:LABEL010
DispFile PPEPath() + STRING003, 0
:LABEL011
While ((STRING014 == "")) STRING014 = Inkey()
If (STRING014 == "y") Gosub LABEL012
If (STRING014 == "Y") Gosub LABEL012
If (STRING014 == "a") Gosub LABEL013
If (STRING014 == "A") Gosub LABEL013
If (STRING014 == "") Gosub LABEL001
If (STRING014 == "q") Gosub LABEL001
If (STRING014 == "Q") Gosub LABEL001
If (STRING014 == "g") Gosub LABEL014
If (STRING014 == "G") Gosub LABEL014
Gosub LABEL002
:LABEL012
KbdStuff "r;y;s" + Chr(13)
Gosub LABEL015
:LABEL013
KbdStuff "r;a;s" + Chr(13)
Gosub LABEL015
:LABEL014
PutUser
PrintLn "@X08 EMAiL PPE By HERo '94 iMAGE/AcE/WoRLd oF iLLuSiOn"
Hangup
:LABEL015
PutUser
Cls
End
;------------------------------------------------------------------------------
;
; Usage report (before postprocessing)
;
; ■ Statements used :
;
; 3 End
; 4 Cls
; 4 Goto
; 14 Let
; 7 PrintLn
; 52 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
;
;
; ■ Functions used :
;
; 24 +
; 52 ==
; 1 !
; 14 Chr()
; 1 U_Name()
; 2 Inkey()
; 4 Mask_Ascii()
; 6 PPEPath()
; 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!
;------------------------------------------------------------------------------