TIP: Click on subject to list as thread! ANSI
echo: telemate
to: WINFRED HU
from: TOM AUSTIN
date: 1996-02-22 18:31:00
subject: Scripts

Winfred, the script below will not compile unless the lines I have
indicated are rem'ed out.  Can you help on this.  With those lines
rem'ed out, the entire script will compile including the Toolbox3.tws in
the first line.  I looked thru the script help and saw nothing that
replaces these commands in TMW 1.10.  Is there a work around?  Without
the SET DIALLIST and DIAL commands, a stand alone script is not
possible, at least as far as I can see.
#include "toolbox3.tws"        ; toolbox for phone functions
(the two lines below will not compile)
;set alarmsound,0   ;THESE TWO LINES SHUT OFF THE
;set alarmtime,0    ;TELEMATE ALARM
string name,password,linkscript,logfile,phone,last
integer total
(the two lines below will not compile)
;set diallist,"1 2"  ; NUMBERS IN YOUR TM PHONE DIR YOU WISH TO CALL
;dial
if connected
  switch connected           ; switch depending on who connected with
case 1: phoneread 1,name,password,linkscript,logfile,phone,total,last
case 2: phoneread 2,name,password,linkscript,logfile,phone,total,last
  endswitch
 ;script linkscript    ; run script for BBS connected with
endif
Waitfor 0          ; wait until string matched
Set Autostop, On
I have delete the rest of the script as it compiles fine.  Thanks for
any help you can offer.
*See ya 'round the system, Tom*
--- FMail/386 1.02
---------------
* Origin: Software Heaven (813) 653-0431 (1:377/41)

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