Goal

Zocscrip is written to minimize your phone cost connecting to a BBS.

How?

step 1
Unzip zocscrip.zip and place only the lgthouse file in the script directory of Zoc.

step 2
Adjust the settings.
        /* set variables with default values - may be changed */
        waittodial   =  28                       /* time between dials */
        maxtry       =  400                      /* max number of trys  */
        phone        =  "01834-2427"             /* phone number to call  */
        reppath      =  "c:\com.map\"            /* REP file path */
        qwkpath      =  "c:\com.map\qwk\"        /* QWK file path  */
        dwnpath      =  "c:\com.map\"            /* download file path */
        uplpath      =  "c:\com.map\"            /* upload file path */
        Skppath      =  "c:\com.map\"            /* skip mail file (empty) */
        repfile      =  "lgthouse.rep"           /* REP file name */
        qwkfile      =  "lgthouse.qwk"           /* QWK file name */
        dwnfile      =  "lgthouse.dwn"           /* download description file name */
        uplfile      =  "lgthouse.upl"           /* upload description file name */
        Skpfile      =  "nomail"                 /* empty file with name nomail */
        noautoopts   =  "options\stannoau"       /* NOAUTO options file only for uploads */
        standardopts =  "options\standard"       /* STANDARD options */
        waittime     =  30                       /* 30 seconds to wait on response from BBS */
        waittimemail =  1500                     /* 1500 wait time for mail and file download */
        myname       =  "Arjen Meijer"           /* name */
        password     =  "secret"                 /* password */
        tune_on_connect = "no"                   /* play a tune after connect to bbs yes/no */
        logname "lgthouse.log"                   /* file name to log this script */
        logging 1                                /* logging on =1 off =0 */

Be aware that Zocs standnoau optionsfile is identical to the standard one except for
Transfer, Auto transfer. This should be no. In the standard options it should be yes().

step 3

Adjust some lines if you dial to another BBS. Log your normal session and compare
it with this script.

step 4

Configure the BBS quick mail menu to download the new files since your last
login (7.) and logoff after a reply upload (3.). Do not use the autostart feature as it
interferes with the upload of replies.
Adjust the rest to your personal preference. Is should be something like:

    Options and commands                                           

  1. D/L your replies.......... ON     12. Delay prompts one second....... OFF
  2. D/L packets without msgs.. OFF    13. Clear keyboard buffer.......... OFF
  3. Logoff after U/L replies.. ON     14. Enable "QwikStart"............. ON
  4. Send the WELCOME screen... OFF    15. Repeat scanning................ ON
  5. Send the system NEWS...... OFF    16. Replace @variables............. ON
  6. Scan for new BULLETINS.... ON     17. Selected confs in CONTROL.DAT.. OFF
  7. Scan for new FILES........ ON     18. Capture reply insertion........ ON
  8. Send the GOODBYE screen... OFF    19. Do not create .NDX files....... ON
  9. Send the DeLuxe menu...... ON     20. BBS time stamp on replies...... ON
 10. Send SESSION.TXT.......... OFF    21. Message Counts in CONTROL.DAT.. OFF
 11. Use extended prompts...... OFF    22. Resume repeat scan w/last conf. OFF


step 5

Attach the icons to the directories.

step 6

Make a extra program reference for ZOC. Attach the lgthouse icon. Make the
command line parameters /s:?\zoc\script\lgthouse  Name the reference object
Zoc lgthouse.

Or make an entry in the phone book
Name: Lighthouse with script
Phonenumber: xxxx-xxxxx
scriptfile: lgthouse
script arg: automatic

The parameter automatic skips the dial sequence in the script as zoc controls the
dialing. If you do not enter a phone number zoc transfers the dialing control the
script. Do not use the argument automatic in that case.

step 7

Phone lgthouse and download kwq*.*, the best os/2 off-line reader. Create first
file lgthouse.dwn (or your name) in the correct directory by dragging it from
the model in the enclosed Lgthouse folder. Add the line:

kwq12i


If you download more than one file use one of the following files

file.one
file.two
file.tre

or
file.one file.two file.tre

Both will perform correctly.

The same logic applies to unloading files.

If you do not want to collect mail, drag a nomail file out of the lgthouse
folder.

step 8

Send any comments and errors to:
    Arjen Meijer
    fido: Arjen Meijer@2:285/324
    internet: arjen@hacom.nl
    mail: Arjen Meijer
          Zadelmakerstraat 6
          3828 XK Hoogland
          The Netherlands

step 9

Relax and let the computer do the work.

