TIP: Click on subject to list as thread! ANSI
echo: telemate
to: GARY GOLDMAN
from: BILL EASTMAN
date: 1995-08-06 13:22:00
subject: Re: scripts

-=> Quoting John McLachlan to Gary Goldman <=-
 JM> On 07-31-95 Gary Goldman wrote to All... 
 
 GG> Hi ALL 
 GG> 
 GG> Can anyone help me get hold of a script to run in Telemate to carry 
 GG> out 
 GG> a mail run to a pcboard and tell me how to use it. 
Below is the script I use to log on the BBS:
I've uploaded this script to our user groups BBS, so those using Telemate
can use it.  It will run under TM 4.12 and later.
FN="C:\TM\HUB-BW.new"				  ;name of your file to upload
Waitfor 0                         ;wait until string matched
LOGON "c:\tm\hub2.log"			  ;name of your log file
Set AutoStop,On
WHEN "More [Y,n,=]? ","^M"
WHEN "Next bulletin [Y,n]? ","^M"
WHEN "Press ENTER to continue","^M"
WHEN "[y,N]? ","^M"
WHEN "download Now?","Y"
Waitfor "BBS, or wait a moment..." ;Binkley's prompt to press esc
Put "^[",						   ;press esc
Waitfor "What is your name: "
Put "Your Name Y password ^M"       ;your name Y PASSWORD ^M
Waitfor "Select: "
Put "B",                            ;tell Max you want BlueWave reader  
Waitfor "Select: "
fileexist FN,existflag              ;check to see if messages to upload       
        
if existflag                        ;if yes 
    Put "U",                        ;   tell Max Upload    
    SEND "Z",FN                     ;   tell Telemate to send file            
    IF SUCCESS                      ;   if upload ok 
        DELETE FN                   ;       delete it
    ENDIF                           ;   endif (upload ok)
    Waitfor "Select: "
ENDIF                               ;endif (msg to upload)                    
           
Put "D",                            ;tell Max to download
LOGOFF
 GG> 
 JM> G'day Gary 
 JM> I have found that no to boards are the same so the script has to 
 JM> be varied each time to match the requests/responses from the board. 
 JM> You can write your own! The telemate docs printed out, explain all 
 JM> the available commands AND you can use ALt N to record your keystrokes
 JM> when you log on to a board so that you can look back over what you 
 JM> have done.  Good luck 
 
 I used the Alt N process to catch the prompts, BUT had to edit and add
 the check to see if there is a file to upload.
 
... Fido Netmail 1:382/1201 or Internet: beastman@i-link.net
--- Blue Wave/Max v2.20b Gamma
---------------
* Origin: The HUB * Austin TX * Centex PCUG * 512-346-1852 (1:382/1201)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.