home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 6729 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.1 KB

  1. Path: mail2news.demon.co.uk!ozzy.demon.co.uk
  2. From: Brian Skreeg <oz@ozzy.demon.co.uk>
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Timing stuff
  5. Date: Mon, 1 Apr 96 20:43:25 GMT
  6. Organization: Fish Technologies Ltd.
  7. Message-ID: <9604012043.AA003vp@ozzy.demon.co.uk>
  8. X-NNTP-Posting-Host: ozzy.demon.co.uk
  9. X-Newsreader: TIN [version 1.2 PL3]
  10. X-Mail2News-Path: disperse.demon.co.uk!post.demon.co.uk!ozzy.demon.co.uk
  11.  
  12.     Hi folks,
  13.  
  14. I'm writing a ircbot in SAS/C and I need to do things based on intervals.
  15. ie: if it doesn't have ops then ask at certain (10 secs) intervals for ops
  16. etc etc. 
  17.     What would be the best way for implementing such a thing. It's
  18. basically just a simple program with an irc file open using TCP: and stdio
  19. CON: for seing what it's up to. 
  20.     The program should still be able to go about ordinary between interval
  21. commands. ie: Delay() is no use.
  22.  
  23. Any ideas?
  24.    __ _ _
  25.   /  \ \ \ Out we come, bloody and squawling,
  26.  / / / / / and for all the points of the compass,
  27.  \__/  \ \ we know there's anly one direction,
  28.     \__/_/ and time, is it's only measure,
  29.                      Guildernstern or Rosencrantz.
  30.