home *** CD-ROM | disk | FTP | other *** search
- /*
- * Octopus, The Atari ST(e)/TT/Falcon GEM/TOS Bulletin Board System
- * written by me (Koos Kuil) on FidoNet: 2:282/397, NeST: 90:500/103
- *
- * OctoScript file written on 10 Jun 1995
- *
- * ------------------------------------------------------------------
- * USERBASE.SCR Newuser procedure functions
- *
- */
-
- :login
- Login
- IfNewUser
- Send "\r\n\nNow you should have answer all next questions correctly"
-
- /* Ask the user for his information */
- Send '\r\n\nYour street & home number : '
- Input &User.Street
- Send '\r\nYour post mail code (1234 AB) : '
- Input &User.Postcode
- Send '\r\nYour city & state : '
- Input &User.City
- Send '\r\nYour voice telephone number : '
- Input &User.VoiceTel
- Send '\r\n\nDo you have a Bulletin Board or FAX (Y,n) ? '
- AskYesNo
- IfAskTrue
- Send 'Yes\n'
- Send '\r\nEnter the name of your Bulletin Board or FAX\r\n>'
- Input &User.BBSFax
- Send '\r\n\nEnter the telephone number : '
- Input &User.DataTel
- Else
- Send 'No\n'
- Endif
- Send '\r\n\nEnter the type of computer that you using.\r\n>'
- Input &User.Computer
- Send '\r\n\nEnter your type of modem & maximum speed.\r\n>'
- Input &User.Modem
-
- Gosub toggle_dateformat
- Input &User.Birthday
-
- /* Ask the user if he does enter everything correctly */
- Send '\r\n\nHave you all the information correct entered (Y,n) ? '
- AskYesNo
- IfAskTrue
- SaveUserRecord
- Else
- Gosub changeuser /* Let the user change their information */
- Endif
- Endif
- Return
-
- /* The Password is a special option */
- :change_password
- ChangePassword
- Return
-
- :change_emulation
- ChangeEmulation
- Return
-
- :change_screenlength
- ChangeScreenLength
- Return
-
- :change_screenwidth
- ChangeScreenWidth
- Return
-
- :toggle_fullscred
- Send "\f*** Full Screen Message Editor ? ***\r\n\n"
- "@Y Yes, use the full screen edit (not in ascii mode).\r\n"
- "@N No, use the internal message line-orientated editor.\r\n\n"
- "Select: "
-
- AskYesNo
- IfAskTrue
- SetFullScrEd On
- Else
- SetFullScrEd Off
- Endif
- Return
-
- :toggle_moreprompt
- Send "\f*** Wait after each screen ? ***\r\n\n"
- "@Y Yes, enable more prompt\r\n"
- "@N No, disable more prompt\r\n\n"
- "Select: "
- AskYesNo
- IfAskTrue
- SetMorePrompt On
- Else
- SetMorePrompt Off
- Endif
- Return
-
- :toggle_hotkeys
- Send "\r\n\nDo you want to use fast menu hotkeys @c1(Y,n)@c0 ? "
- AskYesNo
- EchoYesNo
- IfAskTrue
- SetHotkeys On
- Else
- SetHotkeys Off
- Endif
- Return
-
- :toggle_dateformat
- Do
- Send "\r\n\nSelect your favourite date format.\r\n\n"
- "1. DD-MM-YYYY (26 September 1995)\r\n"
- "2. MM-DD-YYYY (September 26th 1995)\r\n\n"
- Send "Make your choice: "
- DoChoice
- Selectchoice
- Case 1 SetAltDateFormat Off
- Case 2 SetAltDateFormat On
- EndSelect
- EnddoChoice 12
- EchoKey
- Enddo 12
- Return
-
- /* End USERBASE.SCR */