home *** CD-ROM | disk | FTP | other *** search
-
- START:<time>
- ------------
-
- Purpose: Waits until a given time before continuing with the script.
-
- Use: Normally placed at the beginning of the program. The 24hr clock must be
- used. A terminal program must not be running when a script starts, otherwise
- characters may be stolen from the serial port and the operation of ComLink
- will be upset.
-
- A colon must be used to separate the hours and minutes.
-
- Examples: START:23:00
-
- Related commands: None
-
-
- FINISH:<comment>
- -------
-
- Purpose: Stops a script.
-
- Use: Can be used at any point in the script, need not be used at the end.
- Normally only required before the ONERROR: command (if used), to prevent the
- commands after the ONERROR: line from being executed. The text <comment> is
- ignored by ComLink.
-
- Examples: FINISH:****This is where the script ends!****
-
- Related commands: None
-
- SCANLIST:<string1>:<string2>.....
- ---------------------------------
-
- Purpose: Examines a message list from the BBS or PMS, and looks for
- <string1>,<string2> etc. in each line. If any of the strings are found then
- that message will subsequently be read if the READ: command is used.
-
- Use: Use this command after initiating a "List" from the TNC or BBS by using
- the command TYPE:L (or equivalent), where sending "L" causes the BBS to list
- the messages.
-
- The <string> is case sensitive, ie if ARCHI is the string, then a match will
- be found in MARCHING, but not for Archimedes. Up to 10 <string>s may be
- specified, each must not be longer than 10 characters.
-
- Listed messages seem to have a standard format, this has been assumed by the
- ComLink program. The message list must be in the form:-
-
- NNNNN.......................
-
- Where .... indicates any text up to 100 charecters long, and NNNNN is a
- message number which may contain spaces.
-
- The command SAVELIST: near the start of the Script program will force
- ComLink to save the list in a default or specified directory, with filename
- "List".
-
- The last delay command before the SCANLIST: command, must allow sufficient
- time for each listed line to be read, set DELAY: to at least 120 seconds.
-
- The SCANLIST: command finishes having seen your prompt, as defined in the
- MYPROMPT: command so a WAITFOR: command MUST NOT be used after the SCANLIST:
- command. See example 3 below.
-
- Example: (for a PMS/BBS): TYPE:L
- SCANLIST:G7ALN
- READ:
-
- Related commands: SAVELIST: READ: TYPE: DELAY:
-
-
- READ:<text>
- --------------
-
- Purpose: If any of the strings were found during a SCANLIST: then those
- messages will subsequently be read if the READ: command is used. The text is
- optional but if used it defines the character sequence that marks the start
- of the message.
-
- Use: Used at some point in the script program after a SCANLIST: command.
-
- Read messages are saved in directory "Download" within the !ComLink
- apllication directory or within !ComMail. They are saved as text type files
- with the same filename as the <string> that was found during the
- previous SCANLIST: and/or FILESCAN: command.
-
- On some BBSs, the message can start with a character sequence that looks
- like a prompt! To get around this you can put <text> after the read command
- which will identify a message start. eg
-
- READ:>[13]
-
- The READ: command ends when a prompt has been seen but no more messages are
- to be read.
-
- ****IMPORTANT**** The READ: command MUST be preceded by the command
- FILESCAN: and/or SCANLIST: to determine which messages are to be read.
- The last delay command before the READ: command, must allow sufficient time
- for a complete message to be read, set DELAY: to at least 600seconds
- (10 minutes) if communicating with a BBS.
-
- Examples: TYPE:L
- SCANLIST:ARCHIM:AMSAT:G7ALN
- READ:
-
- Related commands: FILESCAN: SCANLIST: MYPROMPT: TYPE: DELAY:
-
-
- UPLOAD:<comment>
- ----------------
-
- Purpose: Sends up to 10 files in the upload directory to the serial port.
-
- Use: Normally this command would be used as soon as a link to the BBS has
- been made. All files in the upload directory within will be sent to the
- serial port providing the filename does not start with a +. No characters
- are added to or removed from the files, but all line feeds are converted to
- carraige returns.
-
- You can specify the upload directory in your script using DIRUP: but if you
- don't use this command ComLink will look in the For_Upload directory within
- the !ComLink application directory.
-
- The command ends having seen your prompt, the PMS/BBS is therefore ready to
- receive the next command.
-
- When each file has been sent and the prompt received, the uploaded file will
- be renamed with a "+" added to the begining of the filename. Filenames
- starting with a "+" will not be sent, this prevents files being sent twice
- accidentally.
-
- The files must be put in the directory by yourself. Text files must contain
- all information for the BBS to save/send on the message. The message can be
- created with !Edit and typically would contain:-
-
- SP G7ALN @ GB7IMB
- Re. ComLink...
- Hi Alan, your !ComLink program is ......
- ........
-
- 73 de Me
- /ex
-
- IMPORTANT: WHEN CREATING THE TEXT FILE, "RETURN" MUST HAVE BEEN PRESSED
- AFTER THE /ex. You can check this has been done, by using the mouse/caret in
- !Edit. You should be able to put the caret on the line below the /ex.
-
- If the APPEND: command is used at the start of the script, then that can
- contain the /ex to end the message.
-
- Only one message per file should be used, since only when the whole file has
- been sent does ComLink start looking for your prompt (as set by the
- MYPROMPT: command)
-
- Example: UPLOAD: Any old text here, program ignores it!
-
- Related commands: MYPROMPT: DELAY: APPEND:
-