home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Monster Media 1994 #1
/
monster.zip
/
monster
/
PCBOARD
/
CBOX27.ZIP
/
SYSCHAT.PPE
(
.txt
)
< prev
next >
Wrap
PCBoard Programming Language Executable
|
1994-03-04
|
1KB
|
130 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 1.OO (plain) - Analysis ON - Postprocessing ON
;------------------------------------------------------------------------------
Integer INTEGER001
Integer INTEGER002
String STRING001
String STRING002
;------------------------------------------------------------------------------
GetToken STRING002
STRING002 = Upper(STRING002)
If (InStr(STRING002, "/SHIFT")) INTEGER002 = 2
If (InStr(STRING002, "/F10")) INTEGER002 = 3
If ((STRING002 == "") || (INTEGER002 == 0)) Then
PrintLn
PrintLn "@X0C> The SYSCHAT.PPE is not installed correctly. It must be followed by:"
PrintLn
PrintLn "@X0C> @X0F/F10 @X0Cif installed in PCBTEXT record #333"
PrintLn
PrintLn "@X0C> @X0F/SHIFT @X0Cif installed as a SHIFT-F# key in PCBSetup"
PrintLn
Wait
KbdStuff Chr(13) + Chr(27)
End
Endif
If (U_Logons() < 1) Then
SaveScrn
Chat
RestScrn
End
Endif
STRING001 = PPEPath()
If (INTEGER002 == 2) SaveScrn
WrUSys
If (INTEGER002 == 2) Then
PrintLn
DispText 175, 128
Print "@SYSTIME@"
Endif
Shell 0, INTEGER001, STRING001 + "CHATBOX.EXE", "CHATBOX.CNF " + STRING002
RdUSys
If (INTEGER002 == 2) Then
RestScrn
PageOff
Endif
While (Len(KInkey()) > 0) Do
EndWhile
If (INTEGER002 == 3) KbdStuff Chr(27)
End
;------------------------------------------------------------------------------
;
; Usage report (before postprocessing)
;
; ■ Statements used :
;
; 3 End
; 1 Wait
; 6 Goto
; 4 Let
; 1 Print
; 8 PrintLn
; 9 If
; 1 GetToken
; 1 Shell
; 1 DispText
; 2 KbdStuff
; 1 WrUSys
; 1 RdUSys
; 2 SaveScrn
; 2 RestScrn
; 1 Chat
; 1 PageOff
;
;
; ■ Functions used :
;
; 3 +
; 6 ==
; 1 <
; 1 >
; 5 !
; 1 ||
; 1 Len(
; 1 Upper()
; 3 Chr()
; 2 InStr()
; 1 U_Logons()
; 1 PPEPath()
; 1 KInkey()
;
;------------------------------------------------------------------------------
;
; Analysis flags : S
;
; S - Shell to DOS ■ 5
; This may be normal if the PPE need to execute an external command,
; but may be actually anything... nasty (formating HD, rebooting,...)
; or usefull (sorting, maintenance,...). Check!
; ■ Search for : SHELL
;
;------------------------------------------------------------------------------
;
; Postprocessing report
;
; 0 For/Next
; 1 While/EndWhile
; 4 If/Then or If/Then/Else
; 0 Select Case
;
;------------------------------------------------------------------------------
; AEGiS Corp - Break the routines, code against the machines!
;------------------------------------------------------------------------------