home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Monster Media 1994 #1
/
monster.zip
/
monster
/
PCBOARD
/
PEPSTER.ZIP
/
HELLO.PPE
(
.txt
)
< prev
next >
Wrap
PCBoard Programming Language Executable
|
1994-03-20
|
3KB
|
168 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
;------------------------------------------------------------------------------
STRING004 = Chr(13)
Cls
DispFile PPEPath() + "BYEG", 2 + 1 + 4
STRING002 = Date()
STRING001 = "01/01/90"
FOpen 2, PPEPath() + "DATETEST", 0, 2
If (Ferr(2)) Then
SPrintLn "ERROR, FILE DOESN'T EXIST!"
Endif
If (Ferr(2)) Goto LABEL001
FGet 2, STRING001
:LABEL001
FClose 2
If (CurSec() >= SysopSec()) Then
If (STRING001 < STRING002) Then
FCreate 1, PPEPath() + "BYEG", 1, 0
FPutLn 1, "@X04NO ONE HAS CALL FOR TODAY YET!"
FClose 1
Endif
End
Endif
KbdChkOff
If (STRING001 == STRING002) Then
FAppend 1, PPEPath() + "USERSG", 2, 3
FPut 1, "@X70│ @X71"
FPutPad 1, PcbNode(), -6
FPutPad 1, U_Name(), -20
FPutPad 1, Date(), 10
FPutPad 1, Time(), 10
FPutPad 1, Carrier(), 7
FPutPad 1, U_Logons(), 8
FPutPad 1, " @X7F │", -18
FPutLn 1
FClose 1
ElseIf (STRING001 < STRING002) Then
FCreate 1, PPEPath() + "USERSG", 1, 0
FPut 1, "@X70│@X71 "
FPutPad 1, PcbNode(), -6
FPutPad 1, U_Name(), -20
FPutPad 1, Date(), 10
FPutPad 1, Time(), 10
FPutPad 1, Carrier(), 7
FPutPad 1, U_Logons(), 8
FPutPad 1, " @X7F │", -18
FPutLn 1
FClose 1
FCreate 2, PPEPath() + "DATETEST", 1, 0
FPutLn 2, Date()
FClose 2
Endif
FCreate 4, PPEPath() + "BYEG", 1, 0
FPutLn 4, "@CLS@@X70┌────────────────────────────────────────────────────────────────────────────@X7F┐"
FPutLn 4, "@X70│@X74 Previous Callers Log Ver 1.15 @X7F │"
FPutLn 4, "@X70│@X71 Written By John Pepp @X7F│"
FPutLn 4, "@X70│@X70 @X7F│"
FPutLn 4, "@X70│ @X74Node @X70Name @X75Date @X71Time @X74Baud @X70Total Calls @X7F │"
FPutLn 4, "@X70│ @X7F│"
FOpen 1, PPEPath() + "USERSG", 0, 2
FGet 1, STRING003
:LABEL002
If (Ferr(1)) Goto LABEL003
FPutLn 4, STRING003
FGet 1, STRING003
Goto LABEL002
:LABEL003
FClose 1
FPutLn 4, "@X70│@X70 @X7F│"
FPutLn 4, "@X70│ @X75(313)421-9145 Open 24 Hours A Day 2400/9600/14000 @X7F │"
FPutLn 4, "@X70└@X7F────────────────────────────────────────────────────────────────────────────┘@X07 "
FClose 4
KbdChkOn
Color 7
End
;------------------------------------------------------------------------------
;
; Usage report (before postprocessing)
;
; ■ Statements used :
;
; 2 End
; 1 Cls
; 1 Color
; 9 Goto
; 3 Let
; 7 If
; 1 DispFile
; 4 FCreate
; 2 FOpen
; 1 FAppend
; 7 FClose
; 3 FGet
; 2 FPut
; 14 FPutLn
; 14 FPutPad
; 1 KbdChkOn
; 1 KbdChkOff
; 1 SPrintLn
;
;
; ■ Functions used :
;
; 6 -
; 10 +
; 1 ==
; 2 <
; 1 >=
; 7 !
; 3 Ferr()
; 1 Chr()
; 4 Date()
; 2 Time()
; 2 U_Name()
; 2 U_Logons()
; 8 PPEPath()
; 2 PcbNode()
; 1 SysopSec()
; 1 CurSec()
; 2 Carrier()
;
;------------------------------------------------------------------------------
;
; Analysis flags : s
;
; s - Sysop level access ■ 5
; Program is reading the sysop access level, this may be normal
; but still it is very suspect. It is the best way to give a user
; all priviledges. Check!
; ■ Search for : SYSOPSEC()
;
;------------------------------------------------------------------------------
;
; Postprocessing report
;
; 0 For/Next
; 0 While/EndWhile
; 5 If/Then or If/Then/Else
; 0 Select Case
;
;------------------------------------------------------------------------------
; AEGiS Corp - Break the routines, code against the machines!
;------------------------------------------------------------------------------