home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Monster Media 1994 #1
/
monster.zip
/
monster
/
PCBOARD
/
BADBOY.ZIP
/
BADBOY.PPE
(
.txt
)
< prev
next >
Wrap
PCBoard Programming Language Executable
|
1994-03-17
|
2KB
|
138 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
;------------------------------------------------------------------------------
Boolean BOOLEAN001
Boolean BOOLEAN002
Date DATE001
Integer INTEGER002
Integer INTEGER003
String STRING001
String STRING002
String STRING003
String STRING004
String STRING005
String STRING006
String STRING007
String STRING008
String STRING009
String STRING010
;------------------------------------------------------------------------------
GetUser
INTEGER002 = U_Sec
If (INTEGER002 >= 50) Goto LABEL001
INTEGER002 = 5
INTEGER003 = 0
STRING001 = "SYSOP"
STRING002 = ""
STRING003 = "BAD BOY!"
STRING004 = "R"
DATE001 = Date() + 30
BOOLEAN001 = 0
BOOLEAN002 = 0
STRING005 = PPEPath() + "BadBoy" + ".MSG"
Message INTEGER003, STRING001, STRING002, STRING003, STRING004, DATE001, BOOLEAN001, BOOLEAN002, STRING005
If (INTEGER002 >= 10) U_Sec = 5
U_Sec = INTEGER002
PutUser
Log "User Attempted to DROP to DOS. SL reduced to 5", 1
STRING009 = TokenStr()
Cls
PrintLn "@X8CMistake!@X0F"
PrintLn ""
PrintLn "You attempted to access a command or function you had no"
PrintLn "right to think about, much less try."
PrintLn ""
PrintLn "But, we all make mistakes at one time or another so I will"
PrintLn "give you a chance to explain your action."
PrintLn ""
PrintLn "Depending on your response, and my mood, I may or may not"
PrintLn "reduce your access or, perhaps, delete you from MY board."
PrintLn ""
PrintLn "You'll have 3 lines. Make them good."
PrintLn ""
Wait
PrintLn ""
InputText "Well ", STRING006, 12, 65
PrintLn ""
InputText " ", STRING007, 12, 65
PrintLn
InputText " ", STRING008, 12, 65
Log STRING006, 1
Log STRING007, 1
Log STRING008, 1
KbdStuff "BYE" + STRING009 + Chr(13)
End
:LABEL001
STRING010 = TokenStr()
KbdStuff "9" + STRING010 + Chr(13)
End
;------------------------------------------------------------------------------
;
; Usage report (before postprocessing)
;
; ■ Statements used :
;
; 2 End
; 1 Cls
; 1 Wait
; 1 Goto
; 15 Let
; 16 PrintLn
; 2 If
; 1 GetUser
; 1 PutUser
; 4 Log
; 3 InputText
; 2 KbdStuff
; 1 Message
;
;
; ■ Functions used :
;
; 7 +
; 2 >=
; 2 Chr()
; 1 Date()
; 1 PPEPath()
; 2 TokenStr()
;
;------------------------------------------------------------------------------
;
; Analysis flags : W
;
; 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
;
;------------------------------------------------------------------------------
;
; Postprocessing report
;
; 0 For/Next
; 0 While/EndWhile
; 0 If/Then or If/Then/Else
; 0 Select Case
;
;------------------------------------------------------------------------------
; AEGiS Corp - Break the routines, code against the machines!
;------------------------------------------------------------------------------