home *** CD-ROM | disk | FTP | other *** search
/ The Datafile PD-CD 5 / DATAFILE_PDCD5.iso / utilities / c / comlink / Manual / Script_Man / Script_Ex / ScriptHelp < prev   
Encoding:
Text File  |  1993-03-07  |  2.7 KB  |  74 lines

  1. Example script "Help" notes
  2. ---------------------------
  3.  
  4. These instructions have kindly been created by Brett (G4NZK @ GB7PZT) to
  5. help you modify his example script "BBS_Script" in this directory.
  6.  
  7. These instructions are for setting up a ComLink script to: 
  8.  
  9.   - log on to your local BBS.
  10.   - send any outgoing mail. 
  11.   - save a list of messages since you last logged on.
  12.   - read any messages of interest you previously marked.
  13.   - kill any messages you have previously marked.
  14.   - read any messages on topics you are interested in.
  15.   - log you off the BBS.
  16.  
  17. Load the file BBS_Script into !Edit by dragging it to the !Edit icon.
  18. (Note that Function key F5 in !Edit will allow the caret to be placed on any
  19. particular line.)
  20.  
  21. Alter the following lines....
  22.  
  23. Line 1...... Insert your BBS. eg GB7PZT
  24. Line 4...... Insert your call and bbs
  25. Line 13-19.. You will need to find out what the prompt is from your bbs and insert
  26.              it here. I have included some examples here. To use one you must 
  27.              remove the rem part of the line. Note that [13] indicates a carriage
  28.              return and the |3 indicates that the prompt is made up of 3 characters
  29.              including the CR. You can use # as a wildcard if your bbs does not
  30.              always send the same prompt. eg GB7SUT - 1/A> or GB7SUT - 3/C>.
  31. Lines 25-27. Delete these lines if you not using a node to connect to your BBS
  32. Line 26..... Insert the call of your node
  33. Line 30..... This is the response of your node or tnc if the bbs is busy. Other
  34.              responses will probably be Busy or Sorry
  35. Line 32..... This is the call of your BBS
  36. Line 33..... This is the response of your BBS, when you have connected. It will
  37.              probably be your BBS prompt as in Line 13
  38. Lines 40-41. Delete the rem part of the line to leave the appropriate
  39.              commands for listing from your BBS. The OldList$Num variable will
  40.              automatically be substituted by !ComLink to contain the last listed
  41.              number from an old "List" file. See the Script manual for more
  42.              information.
  43. Line 42..... In this line are the topics you are interested in reading from
  44.              your BBS
  45.  
  46. Now save this file under a suitable name. eg the call of your BBS
  47. and try running it............
  48.  
  49. Do make sure you have the TNC configured first with:-
  50.  
  51. AUTOLF OFF
  52. ECHO OFF
  53. MCON OFF
  54.  
  55. It is also best to set the TNC to USERS 1 so a connect while you have linked
  56. to the BBS does not disrupt communications. Of course all these commands can
  57. be incorporated into the script:-
  58.  
  59. ...
  60. ...
  61. TYPE:AUTOLF OFF
  62. WAITFOR:cmd:
  63. TYPE:ECHO OFF
  64. WAITFOR:cmd:
  65. TYPE:MCON OFF
  66. WAITFOR:cmd:
  67. TYPE:USERS 1
  68. WAITFOR:cmd:
  69. ...
  70. ...
  71.  
  72. Then prior to the FINISH: script commands, you can reset the TNC
  73. configuration to your preffered settings.
  74.