home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Monster Media 1994 #1
/
monster.zip
/
monster
/
PCBOARD
/
POWRPK10.ZIP
/
QWKMSG30.ZIP
/
QWKMSG.PPE
(
.txt
)
< prev
Wrap
PCBoard Programming Language Executable
|
1994-03-31
|
7KB
|
303 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
String STRING005
String STRING006
String STRING007
String STRING008
String STRING009
String STRING010
String STRING011
String STRING012
;------------------------------------------------------------------------------
STRING009 = "Y"
STRING007 = "N"
STRING003 = "1234567890-=\!@#$%^&*()_+/qwertyuiop[]{}POIUYTREWQASDFGHJKL:';lkjhgfdsazxcvbnm,./?><MNBVCXZ "
STRING001 = "N"
STRING004 = "Y"
STRING005 = "N"
STRING006 = "Y"
GetUser
STRING011 = "N"
If (U_Sec > 109) PrintLn "@X0ASysop Access Detected - Privileges Added!@X07"
PrintLn
STRING010 = "Y"
:LABEL001
PrintLn "@X0CIn this program, you can freely leave messages between other callers,@X07"
PrintLn "@X0Ctalking about anything from A to Z.@X07"
PrintLn
PrintLn "@X0B────────────────────────────────────────────────────────────────@X07"
PrintLn "@X08The Current Quick Message Is:@X0F"
PrintLn "" + ReadLine("qwkmsg.msg", 1)
PrintLn "@X08This Message Was Written By: @X0F"
PrintLn "@X0C░▒▓█ @X0F" + ReadLine("qwkmsg.msg", 2) + " @X0C█▓▒░@X07"
PrintLn "@X0B────────────────────────────────────────────────────────────────@X07"
PrintLn
If (U_Sec > 109) InputYN "Would you like to go to the sysop menu", STRING011, 12
If (STRING011 == "Y") Goto LABEL014
If (STRING011 == "y") Goto LABEL014
If (STRING011 == "n") PrintLn
If (STRING011 == "N") PrintLn
InputYN "Would you like to change the Quick Message", STRING001, 12
If (STRING001 == "n") Goto LABEL002
If (STRING001 == "N") Goto LABEL002
If (STRING001 == "y") Goto LABEL003
If (STRING001 == "Y") Goto LABEL003
:LABEL002
PrintLn
End
:LABEL003
PrintLn
PrintLn "@X8FNo Profane Or Obscene Language, Please!@X07"
PrintLn
PrintLn "@X02░▒@X0A▓█ @X0EChanging the Quick Message @X0A█▓@X02▒░@X07"
PrintLn "@X09────────────────────────────────────@X07"
PrintLn
PrintLn "@X07You may enter up to @X0C75 @X07letters or digits below that will be displayed to"
PrintLn "the next caller online."
PrintLn
PrintLn "He may choose to change it at anytime and therefore your message will"
PrintLn "be @X0Cdeleted@X07."
PrintLn
PrintLn "You may choose to remain @X0Canonymous @X07in this message if you wish. No"
PrintLn "@X0Dprofane @X07or @X0Dobscene @X07language may be used at any time within this message!"
PrintLn
PrintLn "Sysops always have the ability to kill a message. If they need to,@X07"
PrintLn "they can do this @X0Canytime @X07with @X0Cany message@X07."
:LABEL004
PrintLn "@X0AEnter your message below @X0F(Enter)=abort@X0E"
InputStr "", STRING002, 14, 75, STRING003, 2
If (STRING002 == "") Goto LABEL005
PrintLn
PrintLn
PrintLn "@X0B──────────────────────────────────────────────────────────────────@X07"
PrintLn "@X08Message will be:@X0F"
PrintLn STRING002
PrintLn "@X0B──────────────────────────────────────────────────────────────────@X07"
PrintLn
InputYN "@X0EIs the message written correct", STRING004, 14
If (STRING004 == "y") Goto LABEL006
If (STRING004 == "Y") Goto LABEL006
If (STRING004 == "n") PrintLn
PrintLn
PrintLn "@X0CYou can now edit your previous message.@X07"
Goto LABEL004
If (STRING004 == "N") PrintLn
PrintLn
PrintLn "@X0CYou can now edit your previous message.@X07"
Goto LABEL004
:LABEL005
PrintLn
PrintLn "@X02Message to Next Caller @X0AAborted@X02 (@X0ENothing Saved@X02).@X07"
Beep
End
:LABEL006
PrintLn
PrintLn
PrintLn "@X0FPosting Message for Next Caller...@X07"
FOpen 1, "qwkmsg.msg", 2, 0
FPutLn 1, STRING002
PrintLn
PrintLn "@X0B──────────────────────────────────────────────────────────────────@X07"
PrintLn "@X08From: @X0F@USER@@X07"
PrintLn "@X0B──────────────────────────────────────────────────────────────────@X07"
PrintLn
PrintLn "@X07To make matters fair sometimes, we offer an @X0Canonymous @X07mode for our"
PrintLn "callers."
PrintLn
PrintLn "Below you may choose to have your name show or become @X0Canonymous@X07."
PrintLn
PrintLn "If you wish to have your name revealed, but have an @X0Calias @X07name, pick"
PrintLn "@X0CN @X07here and then pick @X0CY @X07to the next question."
:LABEL007
InputYN "@X0EWould you like to be Anonymous@X0A", STRING005, 14
If (STRING005 == "n") Goto LABEL008
If (STRING005 == "N") Goto LABEL008
If (STRING005 == "y") Goto LABEL010
If (STRING005 == "Y") Goto LABEL010
:LABEL008
PrintLn
InputYN "@X0EDo you wish to use a @X0Chandle@X0A", STRING007, 14
PrintLn
If (STRING007 == "y") Goto LABEL012
If (STRING007 == "Y") Goto LABEL012
If (STRING007 == "N") PrintLn
Goto LABEL009
If (STRING007 == "n") PrintLn
:LABEL009
PrintLn "@X0CYour name @X0Dwill @X0Cbe revealed to the public!@X07"
PrintLn
InputYN "@X0EIs this what you wish@X0A", STRING006, 14
PrintLn
If (STRING006 == "y") Goto LABEL011
If (STRING006 == "Y") Goto LABEL011
If (STRING006 == "n") PrintLn
PrintLn
PrintLn "@X0CYou may now choose to go anonymous again.@X07"
Goto LABEL007
If (STRING006 == "N") PrintLn
PrintLn
PrintLn "@X0CYou may now choose to go anonymous again.@X07"
Goto LABEL007
:LABEL010
PrintLn
PrintLn "@X0FHiding your name...@X07"
FPutLn 1, "@X04Anonymous @X0CUser@X07"
FClose 1
PrintLn
PrintLn "Your message has been added and your name is anonymous! Thanks for"
PrintLn "using @X0CQuick Message@X07!"
PrintLn
Wait
PrintLn
End
:LABEL011
PrintLn
PrintLn "@X0FAdding your name to the message...@X07"
FPutLn 1, U_Name()
FClose 1
PrintLn
PrintLn "Your message has been added and your name is shown to the users! Thanks"
PrintLn "for using @X0CQuick Message@X07!"
PrintLn
Wait
PrintLn
End
:LABEL012
PrintLn
PrintLn
PrintLn "@X0A░▒▓█ @X0EMaking an Alias @X0A█▓▒░@X07"
PrintLn "@X09─────────────────────────@X07"
PrintLn
PrintLn "You may make an alias name (a.k.a. handle). We request that it has no"
PrintLn "@X0Cprofane @X07or @X0Cobscene @X07language in it."
:LABEL013
PrintLn
InputStr "@X0AWhat do you want your alias to be @X0F(Enter)=abort@X0A", STRING008, 10, 15, STRING003, 2
If (STRING008 == "") Goto LABEL008
PrintLn
PrintLn
PrintLn "@X0B──────────────────────────────────────────────────────────────────@X07"
PrintLn "@X08Your alias will be: @X0F" + STRING008
PrintLn "@X0B──────────────────────────────────────────────────────────────────@X07"
PrintLn
InputYN "@X0EIs this correct", STRING009, 14
If (STRING009 == "N") Goto LABEL013
If (STRING009 == "n") Goto LABEL013
PrintLn
PrintLn
PrintLn "@X0FReplacing your name with alias...@X07"
FPutLn 1, STRING008
FClose 1
PrintLn
PrintLn "Your message has been added and your name has been replaced with an alias."
PrintLn "Thanks for using @X0CQuick Message@X07!"
PrintLn
Wait
PrintLn
End
:LABEL014
PrintLn
PrintLn
PrintLn "@X0A░▒▓█ @X09Sysop Menu @X0A█▓▒░@X07"
PrintLn "@X08 ────────── @X07"
PrintLn
PrintLn "@X0C1. @X0DReset the Quick Message@X07"
PrintLn "@X0C2. @X0DBack to Main Quick Message@X07"
PrintLn
InputInt "@X0E(@X0C@MINLEFT@ min. left@X0E) @X0DQuick Message Sysop @X0CCommand@X07", STRING012, 14
If (STRING012 == 1) Goto LABEL015
If (STRING012 == 2) PrintLn
Goto LABEL001
If (STRING012 > 2) PrintLn
PrintLn
PrintLn "@X8FInvalid Choice!@X07"
PrintLn
Goto LABEL014
If (STRING012 < 1) PrintLn
PrintLn
PrintLn "@X8FInvalid Choice!@X07"
PrintLn
Goto LABEL014
:LABEL015
PrintLn
PrintLn "@X0FResetting the Quick Message...@X07"
PrintLn
FOpen 1, "qwkmsg.msg", 2, 0
FPutLn 1, "<<< QUICK MESSAGE RESET >>>"
FPutLn 1, "Sysop"
FClose 1
PrintLn "The @X0CQuick Message @X07has been reset with the name of @X0CSysop @X07and a message@X07"
PrintLn "of @X0C<<< QUICK MESSAGE RESET >>>@X07. Thanks for using @X0CQuick Message@X07!"
Wait
Goto LABEL001
;------------------------------------------------------------------------------
;
; Usage report (before postprocessing)
;
; ■ Statements used :
;
; 5 End
; 4 Wait
; 31 Goto
; 9 Let
; 134 PrintLn
; 34 If
; 2 FOpen
; 4 FClose
; 6 FPutLn
; 1 GetUser
; 2 InputStr
; 7 InputYN
; 1 InputInt
; 1 Beep
;
;
; ■ Functions used :
;
; 4 +
; 30 ==
; 1 <
; 3 >
; 1 U_Name()
; 2 ReadLine()
;
;------------------------------------------------------------------------------
;
; Analysis flags : No flag
;
;------------------------------------------------------------------------------
;
; 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!
;------------------------------------------------------------------------------