home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.wwiv.com
/
ftp.wwiv.com.zip
/
ftp.wwiv.com
/
pub
/
BBS
/
THEWHO12.ZIP
/
THEWHO.PPE
(
.txt
)
< prev
next >
Wrap
PCBoard Programming Language Executable
|
1995-01-04
|
3KB
|
162 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 3.O1 (Encryption type I) - Analysis ON - Postprocessing ON
;------------------------------------------------------------------------------
Integer INTEGER001
Integer INTEGER002
String TSTRING001(50)
String TSTRING002(50)
String STRING003
String STRING004
String STRING005
String STRING006
;------------------------------------------------------------------------------
For INTEGER001 = 1 To 22
TSTRING001(INTEGER001) = ReadLine(PPEPath() + "twho.dat", INTEGER001)
Next
FClose -1
FOpen 1, PPEPath() + "twho.cnf", 0, 0
FGet 1, STRING004
FGet 1, STRING006
FGet 1, INTEGER002
For INTEGER001 = 1 To INTEGER002
FGet 1, TSTRING002(INTEGER001)
Next
FClose 1
DispFile PPEPath() + "twho.hea", ""
For INTEGER001 = 1 To INTEGER002
STRING003 = ""
RdUNet INTEGER001
Gosub LABEL002
Gosub LABEL001
Next
PrintLn " @X8FUNREGISTERED @X0Fv1.02b"
DispFile PPEPath() + "twho.fot", ""
Stop
:LABEL001
STRING005 = STRING004
If (UN_Stat() == " ") STRING005 = STRING006
STRING005 = ReplaceStr(STRING005, "%N", String(INTEGER001))
STRING005 = ReplaceStr(STRING005, "%U", UN_Name())
STRING005 = ReplaceStr(STRING005, "%L", UN_City())
STRING005 = ReplaceStr(STRING005, "%S", STRING003)
STRING005 = ReplaceStr(STRING005, "%O", UN_Oper())
STRING005 = ReplaceStr(STRING005, "%C", TSTRING002(INTEGER001))
If (UN_Stat() == "") STRING005 = "NONE"
If (STRING005 <> "NONE") PrintLn STRING005
Return
:LABEL002
If ((UN_Stat() == "A") && (UN_Oper() == "")) STRING003 = TSTRING001(1)
If ((UN_Stat() == "A") && (UN_Oper() <> "")) STRING003 = UN_Oper()
If (UN_Stat() == "B") STRING003 = TSTRING001(2)
If (UN_Stat() == "C") STRING003 = TSTRING001(3)
If (UN_Stat() == "D") STRING003 = TSTRING001(4)
If (UN_Stat() == "E") STRING003 = TSTRING001(5)
If (UN_Stat() == "G") STRING003 = TSTRING001(6)
If (UN_Stat() == "L") STRING003 = TSTRING001(7)
If (UN_Stat() == "M") STRING003 = TSTRING001(8)
If (UN_Stat() == "N") STRING003 = TSTRING001(9)
If (UN_Stat() == "O") STRING003 = TSTRING001(10)
If (UN_Stat() == "P") STRING003 = TSTRING001(11)
If (UN_Stat() == "R") STRING003 = TSTRING001(12)
If (UN_Stat() == "S") STRING003 = TSTRING001(13)
If (UN_Stat() == "T") Gosub LABEL003
If ((UN_Stat() == "U") && (INTEGER001 == PcbNode())) STRING003 = "Running THEWHO"
If ((UN_Stat() == "U") && (INTEGER001 <> PcbNode())) STRING003 = TSTRING001(18)
If (UN_Stat() == "V") STRING003 = TSTRING001(19)
If (UN_Stat() == "W") STRING003 = TSTRING001(20)
If (UN_Stat() == "X") STRING003 = TSTRING001(21)
If (UN_Stat() == " ") STRING003 = TSTRING001(22)
If (Upper(UN_Stat()) == "Q") STRING003 = UN_Oper()
Return
:LABEL003
If (Left(UN_Oper(), 3) == "(U)") Then
STRING003 = TSTRING001(14)
ElseIf ((Left(UN_Oper(), 3) == "(D)") && (InStr(UN_Oper(), "(H)") == 0)) Then
STRING003 = TSTRING001(15)
ElseIf ((Left(UN_Oper(), 3) == "(D)") && (InStr(UN_Oper(), "(H)") > 0)) Then
STRING003 = TSTRING001(16)
Else
STRING003 = TSTRING001(17)
Endif
Return
;------------------------------------------------------------------------------
;
; Usage report (before postprocessing)
;
; ■ Statements used :
;
; 12 Goto
; 42 Let
; 2 PrintLn
; 31 If
; 2 DispFile
; 1 FOpen
; 2 FClose
; 4 FGet
; 3 Gosub
; 3 Return
; 1 Stop
; 1 RdUNet
;
;
; ■ Functions used :
;
; 1 -
; 7 +
; 30 ==
; 3 <>
; 3 <
; 3 <=
; 1 >
; 6 >=
; 6 !
; 12 &&
; 3 ||
; 1 Upper()
; 3 Left()
; 2 InStr()
; 1 String()
; 4 PPEPath()
; 2 PcbNode()
; 1 ReadLine()
; 24 UN_Stat()
; 1 UN_Name()
; 1 UN_City()
; 10 UN_Oper()
; 6 ReplaceStr()
;
;------------------------------------------------------------------------------
;
; Analysis flags : No flag
;
;------------------------------------------------------------------------------
;
; Postprocessing report
;
; 3 For/Next
; 0 While/EndWhile
; 3 If/Then or If/Then/Else
; 0 Select Case
;
;------------------------------------------------------------------------------
; AEGiS Corp - Break the routines, code against the machines!
;------------------------------------------------------------------------------