home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Media Share 9
/
MEDIASHARE_09.ISO
/
pcboard
/
addupd.zip
/
ADUPD.PPS
< prev
next >
Wrap
Text File
|
1993-04-15
|
4KB
|
111 lines
; User Address Update PPL
; Copyright 1993 By Ralph LoBianco
;
; This PPL will check let users update there address information if the
; first address field 'ADDR(0)' is empty. If They do have Address info
; in that field then they will be returned to the BBS.
;
; Im useing this as a Logon PPL For all user to Complete by useing the
; !FILESPEC Option In PCBoard 15.0
;DEFINE VAIABLE'S
STRING COMMAND
STRING ANYTEXT
STRING COMMAND2
ANYTEXT = " 1234567890qwertyuiopasdfghjklzxcvbnmQWERTYUIOPASDFGHJKLZXCVBNM"
;GET USER INFO
GETUSER
;TEST TO SEE IF USER HAS ENTERED ADDRESS INFORMATION
IF (U_ADDR(0)="" | LEFT(U_ADDR(0),1)=" ") GOTO MAIN
GOTO END
:MAIN
CLS
Println "User Address Update PPL Copyright 1993 By Ralph LoBianco"
Println "@X09┌───────────────────────────────────────────────────────────────────┐"
Println "@X09│ @X0B**** Address Update Menu **** @X09 │"
Println "@X09├───────────────────────────────────────────────────────────────────┤"
Println "@X09│ │"
Println "@X09│ @X0BYou are about to update your Account Information Please take the @X09 │"
Println "@X09│ @X0Btime to insure that everything is correct. @X09 │"
Println "@X09│ │"
Println "@X09└───────────────────────────────────────────────────────────────────┘"
println
println "@X0E"+"1"+" @X0F- @X0BStreet (1 of 2): @X0F",U_ADDR(0)
println "@X0E"+"2"+" @X0F- @X0BStreet (2 of 2): @X0F",U_ADDR(1)
println "@X0E"+"3"+" @X0F- @X0BCity : @X0F",U_ADDR(2)
println "@X0E"+"4"+" @X0F- @X0BState : @X0F",U_ADDR(3)
println "@X0E"+"5"+" @X0F- @X0BZip Code : @X0F",U_ADDR(4)
println "@X0E"+"6"+" @X0F- @X0BCountry : @X0F",U_ADDR(5)
PRINTLN
INPUTstr "EDIT 1 - 6 or S to Save Then quit?",COMMAND,@X0E,1,"1234567890S",10
println
IF (COMMAND="") Goto Main
if (Command="1") goto ADDR0
if (Command="2") goto ADDR1
if (Command="3") goto ADDR2
if (Command="4") goto ADDR3
if (Command="5") goto ADDR4
if (Command="6") goto ADDR5
if (Command="S") goto END
:ADDR0
Inputstr "@X0AStreet (1 of 2):",U_ADDR(0),@X0E,45,anytext,10
println
goto main
:ADDR1
Inputstr "@X0AStreet (2 of 2):",U_ADDR(1),@X0E,30,anytext,10
println
goto main
:ADDR2
Inputstr "@X0ACity:",U_ADDR(2),@X0E,30,anytext,10
println
goto main
:ADDR3
Inputstr "@X0AState:",U_ADDR(3),@X0E,2,anytext,10
println
goto main
:ADDR4
Inputstr "@X0AZip Code:",U_ADDR(4),@X0E,12,"1234567890-",10
println
goto main
:ADDR5
Inputstr "@X0ACountry:",U_ADDR(5),@X0E,10,anytext,10
println
goto main
;WRITE NEW USER INFO AND EXIT
:END
IF (U_ADDR(0)="" | LEFT(U_ADDR(0),1)=" ") GOTO NOINFO
GOTO SEEYA
:NOINFO
PRINTLN " You must answer the Above Info or you will be placed in this section"
PRINTLN " Each time you log on untill your address information is logged"
Inputyn " Do you still want to Exit (Y/N)",COMMAND2,@X0F
If (COMMAND2="Y") goto SEEYA
if (COMMAND2="N") Goto Main
if (COMMAND2="") Goto Main
Println " Thanks for taking the time to update your Address Information"
Println " It will enable us to keep you in touch with future changes and"
println " changing Membership features."
println " In the Future if you need you update your Address Information"
Println " Please use the W command on the Main Menu."
MORE
:SEEYA
cls
PUTUSER
END