home *** CD-ROM | disk | FTP | other *** search
/ Amiga Times / AmigaTimes.iso / programme / trionbbs110 / Trion / scripts / PollHub < prev    next >
Encoding:
AmigaDOS Script File  |  1998-10-06  |  688 b   |  37 lines

  1. .key node
  2. .def node=14:103/2
  3.  
  4.  
  5. ;;; Script to poll your host/hub and disconnect the user if online.
  6. ;;; (Poll always even if there is no mail for the other system)
  7.  
  8.  
  9. trion -m -1 "You will be disconnected in 2 minutes for a mail call."
  10.  
  11. wait 60
  12.  
  13. trion -m -1 "You will be disconnected in a minute for a mail call."
  14.  
  15. wait 60
  16.  
  17. trion -m -1 "You are disconnected for a mail call."
  18. trion -l -1
  19.  
  20. wait 10
  21.  
  22. ;;; Make poll packet in case there is no mail for <node>
  23.  
  24. poll <node>
  25.  
  26. ;;;   trion -c -1 <node>          ;call  1x
  27. ;;;   caller <node>              ;call 10x
  28.  
  29.  
  30. caller <node> -N5 -D180          ;5 tries, 3 minutes delay, node 1
  31.  
  32.  
  33. ;;; Start script to make lastcaller ANSI screens
  34.  
  35. lastcallers
  36.  
  37.