home *** CD-ROM | disk | FTP | other *** search
/ Amiga Elysian Archive / AmigaElysianArchive.iso / comm / gotch101.lha / Gotchya.Doc < prev   
Text File  |  1993-02-07  |  3KB  |  36 lines

  1. Hello DLG Sysop!
  2.  
  3.     I'd like to take a moment of your time to say what a fine job you've done on your BBS.  It makes all of us DLG Sysops proud to see you work so hard.
  4.     Okay now the pitch.  Here is Gotchaya 1.0 a program that you can place in your Login.dlgbatch file to check and see if the person logging on has been auto-dialing your BBS and gets in after a user has been booted off-line due to Zone Mail Hour.
  5.     This may not be a concern of many, but I like it.  So if you want that degree of control then here is a patch.  I don't intend for Gotchya to be the fix.  I would consider it bad programming to work things that way; however, if you would like me to turn this into a lock out program that you can set to turn away Members for some reason then send me a note on what you would like and I'll try to make it a reality.
  6.  
  7.     Gotchya works like this:
  8.  
  9.     Call the program and supply at least three things so it can do it's job.  Send the User name "%NAME", the Zone Mail Hour as a digit in 24 hour format like 0 for midnight and 12 for noon, and the port you wish to have shut down.
  10.     An example command line is:
  11.     Gotchya -PORT TR0: -PKILL TR0: -USER "%NAME" -ZMH 1
  12. This will bounce anyone who calls during the hour of 1 AM off of port TR0.
  13.     GotchYa 1.01 works on multi-lines now.  Sorry for the first one.  I only have one line and I am the only one who logs on TL0:  Now Gotchya will only bounce the -PKILL port if -PORT port matches.  That is if your TrapDoor port is "TR0:" and you enter -PORT TR0: you must enter -PKILL "TR0:" not TR0.
  14.     One flag for our European residents -ZMM is a flag for the minutes.  For example -ZMH 2 -ZMM 30 will wait until 2:30 am to bounce a user auto-dialing your BBS who gets in after the last user is booted off the system at ZMH.
  15.     One option allows one person to be excused from the exact effect of Gotchya and that option is used with the flag of -SYSOP "Your Name Here".  If you are calling it will let you in if this parameter is set otherwise you too will be bounced.
  16.  
  17. NOTES:
  18.     Gotchya uses Tkill to kill the port and is a rather simple hack that I learned to use structures and the Time functions with.  I enjoyed and learned a lot, so send any suggestions along if you think you have a need for a program that can kill a port on time.
  19.  
  20.     My address is 1:208/111, 40:405/1, Ernst_Berg@koko.csustan.edu!drch!moamiex
  21.  
  22. Authors Comment:
  23.  
  24.     Gotchya is not meant to fix the fence so please fix the ZMH bug.  I love the DLG system and perhaps am a bit strange, but things should work.
  25.  
  26. ---------------------------------------------------------------
  27.  
  28. Revision 1.0
  29.     Ha! I actually finished it and it now works.  Using Tkill for the termination of the port.
  30.     Has Sysop option.  No bugs I can see, but they are there I have to assume.
  31.     Supports -PORT -PKILL -ZMH -SYSOP -USER -ZMM as command flags.
  32. --------------------------------------------------------------
  33. Changes:
  34.  
  35.     o 02-06-93 Added a -PKILL flag so GotchYa won't bounce for the wrong reason.
  36. ---------------------------------------------------------------