home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Computerworld 1996 March
/
Computerworld_1996-03_cd.bin
/
idg_cd3
/
aplikace
/
komunika
/
telixwin
/
tfw.5
/
AUTOCHAT.SLT
next >
Wrap
Text File
|
1995-07-28
|
1KB
|
29 lines
/****************************************************************/
/* */
/* Demo of how chat mode can be automated when calling WINHOST. */
/* */
/* Copyright 1995 deltaComm Development, Inc. */
/* */
/****************************************************************/
autochat()
{
int tr;
tr=track("Sysop breaking in for a chat", 1); // Track string sent by host mode
while (carrier()) // Keep going as long as on-line
{
terminal(); // Allow normal terminal activity
if (track_hit(tr))
chatmode(); // Initiate chatmode if the
} // sysop's chat string detected
track_free(tr); // Release tracking for other use
}
main()
{
autochat();
}