TIP: Click on subject to list as thread! ANSI
echo: qmodem_user
to: ALAN AYCOCK
from: RICK PUMPHREY
date: 1995-08-22 02:02:00
subject: Help with scripts 1/2

Greetings Alan!
AA}I am trying to write a script with qmpro to logon and download my mail off
AA}of a bbs.  I am using the alt-q to write the script.  It will logon great,
AA}but it will not download the mail.
Sorry for the late reply to your "help with scripts" message, but I have
been away from the Echo Conferences for a couple of weeks because of
business.  I am sending a few different types of "Mailrun Scripts" that
I use for different types of BBS's not using the same mail file ext.
The following is one I use for mailrun's on Wildcat 4.0 BBS's, hopefully
these scripts can help you at least by using them as examples to create
scripts to fit your own personal mailrun needs.  Remember to edit the
user logon name, password, BBS name, etc. if you just prefer to use
these as is.
Good Luck,
Rick
; This is a simple QmodemPro script that will allow you to logon to any
; WILDCAT! BBS, download a mail packet from TomCat and then upload any
; .Rep packets you have waiting for that system. To use the script
; fill out the User Id, Password, Script, and Packet fields in the
; dialing entry for the BBS you want to call. Then simply call that
; system and the script will do the rest.
;
; Some changes may be needed if the BBS you are calling has changed
; prompts, or if a version prior to v3.55 is being used.
;
; **********************************************************************
; To operate properly you must enter your name and password in the
; QmodemPro phonebook entry, must be in EXPERT mode in WILDCAT! and must
; have Hotkeys turned OFF.
; **********************************************************************
;
; An additional enhancement is the addition of code to automatically
; activate OLX at termination of the mail run if an inbound (received)
; QWK packet exists for the board .     Use of this functionality requires
; that  be defined to start the OLX reader in the .KEY file
; attached to the phonebook entry for the BBS (usually ANSI.KEY).
;
;-------------------- Script Setup -----------------------------------
TurnON   8_BIT                       ; These Are Our Terminal Settings
TurnOFF  LINEFEED                    ; For This Session
TurnOFF  XON/XOFF
TurnON   NOISE
TurnOFF  MUSIC
TurnON   SCROLL
TurnOFF  PRINT
TurnOFF  SPLIT
TurnON   STATUSLN
TurnOFF  DOORWAY
String Mailbag
;-------------------- We have connected to the system ----------------
Note Connection established - logging on ...
Note Logging onto $BOARD via $NUMBER at $TIME on $DATE.
TimeOut  45                         ; Set Waitfor for 45 seconds
When
Waitfor  "What is your first name" ; Wait for WC to prompt for your name
When
When     "are you"  "Y"
Delay    50
Send     "!$USERID^M"               ; Send UserID from the Phone Book.
WaitFor  "Password?"                ; Wait For Password Prompt
Delay    50
Send     "$PASSWORD^M"              ; Send Password From Dialing Entry
Assign MailBag $QWKPATH$PACKET.QWK
UPLOADSECTION:
Delay 50
IF $SENDMAIL UPLOADMAIL             ; If Send Rep Packet
UPFINISHED:                         ; Label For Upload Success
DOWNLOADSECTION:
Delay 50
IF $GETMAIL DOWNLOADMAIL            ; If Downloading Qwk packet
DOWNFINISHED:                       ; Label For DownFinished
TimeOut 30 EXITSYSTEM               ; Goto EXITSYSTEM Upon Timeout
;--------------------------- Lets get out of here --------------------
When
Waitfor  "command:"                ; TomCat!'s Main Menu
(Continued to next message)
---
 * QMPro 1.53 * Hey Obe Won! Got any more of that Jell-O in the 'fridge?
--- WILDMAIL!/WC v4.12 
---------------
* Origin: The Lakeside Connection! Lakeside, California (1:202/1317.0)

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™.