home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Carsten's PPE Collection
/
Carstens_PPE_Collection_2007.zip
/
T
/
TIMEOUT.ZIP
/
TIMEKILL.PPE
(
.txt
)
< prev
next >
Wrap
PCBoard Programming Language Executable
|
1993-06-07
|
1KB
|
117 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
;------------------------------------------------------------------------------
;------------------------------------------------------------------------------
GetUser
If (CurSec() >= 90) Goto LABEL002
If (CurSec() <= 15) Goto LABEL001
Log "*** KEYBOARD TIMEOUT! 15 minutes deducted ***", 0
PrintLn "Since you just left the BBS to timeout and log you off, "
PrintLn "your available time today will be reduced by 15 minutes. "
PrintLn
AdjTime -15
PutUser
Goto LABEL003
:LABEL001
Log "*** NewUser allowed a KEYBOARD TIMEOUT! & was killed! ***", 0
Cls
Newlines 10
PrintLn "It is rather rude to just leave a BBS to timeout. It reduces "
PrintLn "the available time for our other users and makes poor use of "
PrintLn "our limited resources. Since your account had yet to be "
PrintLn "approved it has now been flagged for deletion and you will "
PrintLn "be permanently logged off the board. GOOD BYE. "
Newline
DelUser
U_Sec = 0
U_ExpSec = 0
PutUser
Goto LABEL003
:LABEL002
Log "*** KEYBOARD TIMEOUT! 15 minutes deducted ***", 0
:LABEL003
Hangup
End
;------------------------------------------------------------------------------
;
; Usage report (before postprocessing)
;
; ■ Statements used :
;
; 1 End
; 1 Cls
; 5 Goto
; 2 Let
; 8 PrintLn
; 2 If
; 1 Hangup
; 1 GetUser
; 2 PutUser
; 1 DelUser
; 1 AdjTime
; 3 Log
; 1 Newline
; 1 Newlines
;
;
; ■ Functions used :
;
; 1 -
; 1 <=
; 1 >=
; 2 CurSec()
;
;------------------------------------------------------------------------------
;
; Analysis flags : WDAB
;
; 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
;
; D - Delete user ■ 5
; Program is deleting account(s)... Check!
; ■ Search for : DELUSER
;
; A - Adjust online time remaining ■ 5
; Program modify the amount of online time remaining, this may
; be a way to bypass time limits
; ■ Search for : ADJTIME
;
; 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
; 0 While/EndWhile
; 0 If/Then or If/Then/Else
; 0 Select Case
;
;------------------------------------------------------------------------------
; AEGiS Corp - Break the routines, code against the machines!
;------------------------------------------------------------------------------