home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Jason Aller Floppy Collection
/
147.img
/
NETMAL46.ZIP
/
SCRIPTS.ZIP
/
TELIX.SLT
< prev
Wrap
Text File
|
1989-04-19
|
2KB
|
93 lines
// This is a sample TELIX script file for automating your NetMail transfers.
//
// General Notes. You should enter your Hub BBS in your Telix Dialing
// directory. If it is a multi node system, enter all numbers if you
// wish. Also enter your logon password in your Telix Dialing
// Directory. Set Telix up to Autodownload with Zmodem. Also, this
// script will compile smaller and run faster if you remove all the
// blank lines and comment lines. (Lines that start with //)
str user_name[] = "Your Name "; //Put your name in the quotes
main()
{
int stat;
int t1,
t2,
t3,
t4,
t5,
t6;
int tmark;
dial ("11 12", 0); //11 and 12 represent the TELIX.FON entries.
//If your hub only has one number, only use
//one entry.
if (not _entry_pass)
{
prints ("Sorry, I don't know the password for this BBS!");
return;
}
t1 = track("graphics (Enter)=no?", 1);
t2 = track(" name?", 1);
t3 = track("will echo)?", 1);
t4 = track("Press (Enter) to continue?", 1);
t5 = track(" (Enter)=yes?", 1);
t6 = track("Command?", 1);
tmark = timer_start(5000);
while (not time_up(tmark))
{
terminal();
stat = track_hit(0);
if (stat == t1)
{
delay(5);
cputs("n q ns");
cputs("^M");
}
else if (stat == t2)
{
delay(2);
cputs(user_name);
cputs("^M");
}
else if (stat == t3)
{
delay(2);
cputs(_entry_pass);
cputs("^M");
}
else if (stat == t4)
{
delay(5);
cputs("^M");
}
else if (stat == t5)
{
delay(5);
cputs("N^M");
}
else if (stat == t6)
{
delay(15);
cputs("DOOR 17^M"); //Change DOOR 17 to the NetDoor
//Number on your Hub.
delay(15);
break;
}
}
if (time_up(1))
prints("Logon failed!");
timer_free(tmark);
track_free(0);
waitfor("receive...");
delay(10);
send('Z', "BBSID.OUT"); //Change BBSID.OUT to your BBS ID CODE
delay(10);
waitfor("send...");
delay(10);
waitfor("Terminating door...");
hangup();
exittelix(0, 1);
}