home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Collection of Hack-Phreak Scene Programs
/
cleanhpvac.zip
/
cleanhpvac
/
SZY110-2.ZIP
/
SETUP.ZIP
/
NEWUSER.Q-A
< prev
next >
Wrap
Text File
|
1995-03-28
|
11KB
|
554 lines
; ***************************************
; ** **
; ** NewUser Questionnaire **
; ** **
; ** Copyright (C) Peter Davies 1995 **
; ** **
; ** Maybe be freely modified and used **
; ** for use with Ezycom ONLY! **
; ** **
; ** Thanks to Robert Wilson for the **
; ** basis of this questionnaire **
; ** **
; ***************************************
PostInfo
ClearScreen
capitalize FIRSTLETTER
setvars "*G" 1
if 1 = 0
goto ASC
endif
:ANS
gosub displaynewuser
gosub getage
gosub getstreet
gosub getpostcode
gosub getcomputer
gosub getmodem
gosub getinterests
gosub gethearabout
changecolour 15 0
gotoxy 2 21
Display " "
gotoxy 2 21
Display " Do you run a BBS? [y/N]"
Getchoice YN 40
If 40 <> "N"
gosub displaybbs
gosub getbbsname
if 14 = ""
gosub getbbsphone
endif
gosub getbbshours
gosub getnetaka
gosub getbbstheme
endif
goto enterprompt
:Loop
if 2 = 1
gosub getfullname
endif
if 2 = 2
gosub getage
endif
if 2 = 3
gosub getstreet
endif
if 2 = 4
gosub getsuburb
endif
if 2 = 5
gosub getpostcode
endif
if 2 = 6
gosub getvoice
endif
if 2 = 7
gosub getcomputer
endif
if 2 = 8
gosub getmodem
endif
if 2 = 9
gosub getinterests
endif
if 2 = 10
gosub gethearabout
endif
If 40 <> "N"
if 2 = 11
gosub getbbsname
endif
if 2 = 12
gosub getbbsphone
endif
if 2 = 13
gosub getbbshours
endif
if 2 = 14
gosub getnetaka
endif
if 2 = 15
gosub getbbstheme
endif
endif
:enterprompt
changecolour 11 0
gotoxy 2 21
display " "
gotoxy 2 21
display "Enter number to change, or [Enter] to continue -->"
Ask 2 2
if 2 <> ""
goto Loop
else
gotoxy 2 21
display " "
gotoxy 2 21
display "Are Answers Correct? <Y/N>"
GetChoice YN 2
gotoxy 2 23
if 2 = "Y"
goto End
else
if 2 = "N"
goto Loop
endif
endif
endif
:ASC
display "|What is your name please?|"
Ask 60 3
Display "|What is your age please?|"
Ask 60 4
Display "|What is your Street Number & Name Please?|"
Ask 60 5
Display "|What is your Suburb & State please?|"
Ask 60 6
Display "|What is your Postcode please?|"
Ask 60 7
Display "|What is your VOICE contact number please?|"
Ask 60 8
Display "|What is your computer type please?|"
Ask 60 9
Display "|What is your modem type & max baud rate please?|"
Ask 60 10
Display "|What are your other interests (Besides BBSing)?|"
Ask 60 11
Display "|Where did you hear about this BBS?|"
Ask 60 12
Display "|Do you run a BBS? [Y/N]"
Getchoice YN 40
If 40 <> "N"
Display "||What is your BBS name please?|"
Ask 60 13
Display "|What is the BBS phone number please?|"
Ask 60 14
Display "|What is it's online hours,Please?|"
Ask 60 15
Display "|Please enter any Net Addresses?|"
Ask 60 16
Display "|What is the main 'THEME' of your BBS?|"
Ask 60 17
endif
:End
changecolour 14 0
Display "||Saving responses..."
OutputAnswer "Name : " 3
OutputAnswer "Age : " 4
setvars "f" 2
OutputAnswer "* AGE should BE: " 2
OutputAnswer "Street : " 5
OutputAnswer "Suburb,State : " 6
OutputAnswer "Postcode : " 7
OutputAnswer "Phone # : " 8
OutputAnswer "Computer : " 9
OutputAnswer "Modem & Baud : " 10
OutputAnswer "Interests : " 11
OutputAnswer "Heard BBS : " 12
OutputAnswer ""
If 13 <> ""
OutputAnswer "BBS Info"
OutputAnswer "BBS name : " 13
OutputAnswer "Phone # : " 14
OutputAnswer "Online hours : " 15
OutputAnswer "Net address : " 16
OutputAnswer "Features : " 17
OutputAnswer ""
endif
:Quit
Quit
:getfullname
changecolour 11 0
gotoxy 2 21
display "Please enter your FULL name "
changecolor 9 0
:q3
gotoxy 20 3
ask 60 3
if 3 = ""
goto q3
endif
return getfullname
:getage
changecolour 11 0
gotoxy 2 21
display "Please state your AGE "
changecolor 9 0
:q4
gotoxy 20 4
ask 60 4
if 4 = ""
goto q4
endif
return getage
:getstreet
changecolour 11 0
gotoxy 2 21
display "Please enter your Street NAME & NUMBER ONLY "
changecolor 9 0
:q5
gotoxy 20 5
ask 60 5
if 5 = ""
goto q5
endif
return getstreet
:getsuburb
changecolour 11 0
gotoxy 2 21
display "Please enter your SUBURB & STATE ONLY "
changecolor 9 0
:q6
gotoxy 20 6
ask 60 6
if 6 = ""
goto q6
endif
return getsuburb
:getpostcode
changecolour 11 0
gotoxy 2 21
display "Please enter your POSTCODE ONLY "
changecolor 9 0
:q7
gotoxy 20 7
ask 60 7
if 7 = ""
goto q7
endif
return getpostcode
:getvoice
changecolour 11 0
gotoxy 2 21
display "Please enter your VOICE contact number "
changecolor 9 0
:q8
gotoxy 20 8
ask 60 8
if 8 = ""
goto q8
endif
return getvoice
:getcomputer
changecolour 11 0
gotoxy 2 21
display "Please enter your computer Type & Configuration "
changecolor 9 0
:q9
gotoxy 20 9
ask 60 9
if 9 = ""
goto q9
endif
return getcomputer
:getmodem
changecolour 11 0
gotoxy 2 21
display "Please enter your Modem type & Baud rate "
changecolor 9 0
:q10
gotoxy 20 10
ask 60 10
if 10 = ""
goto q10
endif
return getmodem
:getinterests
changecolour 11 0
gotoxy 2 21
display "Please enter any other interests you have (Besides BBSing)? "
changecolor 9 0
:q11
gotoxy 20 11
ask 60 11
if 11 = ""
goto q11
endif
return getinterests
:gethearabout
Changecolour 11 0
gotoxy 2 21
display "Where did you hear about this Ezycom BBS? "
Changecolor 9 0
:q12
gotoxy 20 12
ask 60 12
if 12 = ""
goto q12
endif
return gethearabout
:getbbsname
changecolour 11 0
gotoxy 2 21
display "Please enter your BBS name "
changecolor 9 0
gotoxy 20 15
ask 60 13
return getbbsname
:getbbsphone
changecolour 11 0
gotoxy 2 21
display "Please enter the BBS phone number "
changecolor 9 0
gotoxy 20 16
ask 60 14
return bbsphone
:getnetaka
changecolour 11 0
gotoxy 2 21
display "Please enter any Network Addresses "
changecolor 9 0
gotoxy 20 18
ask 60 16
return getnetaka
:getbbshours
changecolour 11 0
gotoxy 2 21
display "Please enter BBS online hours "
changecolor 9 0
gotoxy 20 17
ask 60 15
return getbbshours
:getbbstheme
changecolour 11 0
gotoxy 2 21
display "Please enter the main 'THEME' of your BBS "
changecolor 9 0
gotoxy 20 19
ask 60 17
return bbstheme
:displaynewuser
ClearScreen
changecolour 14 0
display "┌────────────────────────┤"
changecolour 10 0
setvars "O" 2
display "* New User Questionaire *"
changecolour 14 0
display "├──────────────────────────┐|"
display "└─────────────────────────────────────────────────────────────────────────────┘|"
changecolour 9 0
display " ("
changecolour 11 0
display "1"
changecolour 9 0
display ")"
changecolour 15 0
display " Name :"
setvars "A" 3
changecolour 9 0
displayasw 3
changecolour 9 0
display " ("
changecolour 11 0
display "2"
changecolour 9 0
display ")"
changecolour 15 0
display " Age :|"
changecolour 9 0
display " ("
changecolour 11 0
display "3"
changecolour 9 0
display ")"
changecolour 15 0
display " No. & Street:|"
changecolour 9 0
display " ("
changecolour 11 0
display "4"
changecolour 9 0
display ")"
changecolour 15 0
display " Suburb,State:"
setvars "B" 6
changecolour 9 0
displayasw 6
changecolour 9 0
display " ("
changecolour 11 0
display "5"
changecolour 9 0
display ")"
changecolour 15 0
display " Postcode :|"
changecolour 9 0
display " ("
changecolour 11 0
display "6"
changecolour 9 0
display ")"
changecolour 15 0
display " Phone Number:"
setvars "E" 8
changecolour 9 0
displayasw 8
changecolour 9 0
display " ("
changecolour 11 0
display "7"
changecolour 9 0
display ")"
changecolour 15 0
display " Computer :|"
changecolour 9 0
display " ("
changecolour 11 0
display "8"
changecolour 9 0
display ")"
changecolour 15 0
display " Modem / Baud:|"
changecolour 9 0
display " ("
changecolour 11 0
display "9"
changecolour 9 0
display ")"
changecolour 15 0
display " Interests? :|"
changecolour 9 0
display " ("
changecolour 11 0
display "10"
changecolour 9 0
display ")"
changecolour 15 0
display " Heard of BBS:"
gotoxy 1 20
changecolour 14 0
display "┌─────────────────────────────────────────────────────────────────────────────┐|"
display "│ │|"
display "└─────────────────────────────────────────────────────────────────────────────┘"
return displaynewuser
:displaybbs
gotoxy 1 13
changecolour 14 0
display "┌─────────────────────────────────────────────────────────────────────────────┐|"
display "└─────────────────────┤"
changecolour 10 0
display "* Fellow Sysop Information *"
changecolour 14 0
display "├──────────────────────────┘|"
changecolour 9 0
display " ("
changecolour 11 0
display "11"
changecolour 9 0
display ")"
changecolour 15 0
display " BBS Name :|"
changecolour 9 0
display " ("
changecolour 11 0
display "12"
changecolour 9 0
display ")"
changecolour 15 0
display " Phone Number:"
setvars "D" 14
changecolour 9 0
displayasw 14
changecolour 9 0
display " ("
changecolour 11 0
display "13"
changecolour 9 0
display ")"
changecolour 15 0
display " Online hours:|"
changecolour 9 0
display " ("
changecolour 11 0
display "14"
changecolour 9 0
display ")"
changecolour 15 0
display " Net Address :|"
changecolour 9 0
display " ("
changecolour 11 0
display "15"
changecolour 9 0
display ")"
changecolour 15 0
display " Main Theme :"
return displaybbs