home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / World_Of_Computer_Software-02-387-Vol-3of3.iso / c / cn311-sw.zip / DIAL.SLT < prev    next >
Text File  |  1990-12-07  |  947b  |  27 lines

  1. // This Script was Written by Claude Brown for public use.
  2. // It will require some editing for use on your BBS
  3.  
  4. main()
  5.   {
  6. // Please change the (1) to the comm port you are using on your BBS
  7.    set_port (1);
  8. // This is your setting for your comm port on your BBS
  9.    set_cparams (2400, 0, 8, 1);
  10.    cputs_tr ("ATZ^M~~~~");
  11.    cputs_tr (_mdm_init_str);
  12. // this command will preset Telix to the protocal of your choice
  13.    set_defprot ('Z');
  14.    set_terminal ("ANSI-BBS");
  15. // This command will dial entry #2 in your dialing Dir and call for 150 rings
  16. // if no answer after 150 rings then it will write a message to your Telix
  17. // usage log.  In my setup i have named my telix usage log as my heysysop log
  18.    if (dial("2",150) == 0)
  19.      {
  20.       usagelog ("C:\TELIX\TELIX.USE");
  21.       ustamp ("The MAIL Transfer Event could NOT connect with the Host Node", 1 , 0);
  22.       usagelog ("*CLOSE*");
  23.       exittelix(1,1);
  24.      }
  25.   }
  26.  
  27.