TIP: Click on subject to list as thread! ANSI
echo: telix
to: BRUCE WILSON
from: RICK COLLINS
date: 1997-06-16 00:03:00
subject: Tracks

-=> Quoting Bruce Wilson to Rick Collins <=-
-=> FidoMail to 1:163/215, please.-=<
rc> But: could you not use WAITFOR and specify "user" as the
rc> string? Either "userid" or "username" would cause a hit. :-) 
 BW> 
 BW> Well, three of you made the same suggestion, but no one provided
me
 BW> with an example of using "track" in this situation.  :-)
True enough - does this snippet help?
str userid[] ="userid:";
str username[] = "username:";
  .....
     trk1 = track (userid, 1);
     trk2 = track (username,1);
     while (1)
     {
          terminal();
          stat = track_hit (0);   // see which (if any) track was hit
          if (stat == trk1)
          {
               break;
          }
          else if (stat == trk2)
          {
               break;
          }
     }
     cputs("  ");  //Response to Userid/name
     track_free(0);
TTFN. Rick.
Ottawa, ON 16 Jun 0:12 
--- Blue Wave/DOS v2.20
---------------
* Origin: BitByters BBS, Rockland ON, Can. (613)446-7773 v34, (1:163/215)

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