home *** CD-ROM | disk | FTP | other *** search
- | TGUQUIT - Telegard User Quit alarm
- | For Telegard (any version!)
- | Release Date - January 13, 1993
-
-
-
- DISCLAIMER: Hey, I'm not responsible for anything. Batch files, if not
- written correctly, are inherently dangerous. I hereby take no responsibility
- for any damage that may occur through the use of these batch files or other
- files in this archive. End of story.
-
- REGISTRATION: You've gotta be kidding!!! I REALLY don't expect ANY money
- for a couple measly batch files that took 10 minutes to write!!! Besides, I
- hate software that has to be registered with the author. I'm doing this to
- help others, not help myself. Enjoy! If you send me money it'll be sent back
- to the source.
-
- ──────────────────────────────────────────────────────────────────────────────
-
- TgUserquit is a series of batch files created to quit immediately after a
- user logs off, but can be configured for yourself. If run by itself,
- Telegard can do essentially the same thing by pressing Shift-F10 while a
- user is on. However, if Telegard is loaded with a Front End mailer, and the
- -q option is used, this function will do you no good.
-
-
- !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
- !! Before I proceed, I just wanted to tell all of you what an incredibly !!
- !! BRILLIANT person I am, and how original and creative I was to get the !!
- !! idea for this ALL BY MYSELF!!!! NOT!!!!!!!! Okay, okay, the idea came !!
- !! from a wonderful SysOp friend of mine at a party in which everyone !!
- !! eventually got drunk and passed out at. :) Hence, I decided to try it !!
- !! out myself. I loved it SO MUCH that I couldn't keep it to myself! !!
- !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
-
-
- First thing you need to do is create a batch file in your Telegard directory
- (or use the one provided) named GLOBAT1.BAT. This can be executed using Alt-1
- in Telegard while a user is on.
-
- Here's my GLOBAT1.BAT
-
- ────────────────────────────────────────────────────────────────────────────────
- @echo off
- echo I want the computer!!!>c:\bbs\iwantit.tmp
- exit
- ────────────────────────────────────────────────────────────────────────────────
-
-
- Pretty simple... Now you'll want a file called TG.BAT that looks like the
- following:
- ────────────────────────────────────────────────────────────────────────────────
- @echo off
- telegard %1 %2 %3 %4 %5 %6 %7
- if exist c:\bbs\iwantit.tmp goto iwantit
- goto end
-
- :iwantit
- del c:\bbs\iwantit.tmp
- echo ath1m0>com1
- cls
- echo Come and get it!!! \ ┌─ Here, add
- c:\sbpro\sbfmdrv>nul >─┤ whatever suits
- c:\sbpro\cmf\playcmf c:\sbpro\cmf\mozart1.cmf>nul / └─ your needs.
- wait 30
- if errorlevel 2 goto itsmine
- if errorlevel 1 goto end
-
- :end
- cd\fd
- front
- goto end2
-
- :itsmine
- echo Enjoy!
-
- :end2
- ────────────────────────────────────────────────────────────────────────────────
-
- The two lines that load load my Sound Blaster Pro Driver and playcmf are simply
- meant to warn me that the user has logged on (plus it sounds good and makes it
- look professional-like). You can use whatever you want here, whether it's PC
- music or the Star Trek theme or whatever. I myself enjoy Mozart. :)
-
- WAIT is another program included in this archive. Special thanks to the
- designer(s) who wrote it. This program will return an errorlevel 0 if the time
- specified (in seconds) elapses, an errorlevel 1 if a "white" key is pressed
- (enter, space, tab), and an errorlevel 2 if a "non-white" key is pressed (any
- other key). Refer to the documentation of wait for further details.
-
-
- You're front.bat file (or whatever you execute for your Front end mailer). In
- this example, I used a few sections of my Front Door batch file. The
- errorlevel Front Door exited with for a 2400 baud caller was 201.
-
- ────────────────────────────────────────────────────────────────────────────────
- @echo off
- :loop
- cd\fd
- FD
- if errorlevel 201 goto c24
- goto end
-
- REM Lotsa stuff deleted in here....
-
- :c24
- echo.>com1
- echo Welcome! Please wait while Destruct Zero FIRES UP!>com1
- echo.>com1
- cd\bbs
- tg -b24 -q
- cd\fd
- goto loop
-
- REM Lotsa stuff deleted here too....
-
- :end
- echo ath1m0>com1
- ────────────────────────────────────────────────────────────────────────────────
-
-
- And that's all there is to it! Just repeat the above for all you baud rates,
- inserting the correct speed when apropriate! Quite easy actually... Now just
- press Alt-1 and go eat lunch, watch T.V. or call your bes friend and the
- computer will let you know when you can use it!
-
- ────────────────────────────────────────────────────────────────────────────────
-
- Wow! I wrote all this crap in less than an hour! If you use these
- instructions, I would like to here from you. Tell me what you think, and how
- I can improve TGUQUIT. I can be reached by the following mediums:
- 1:104/329 - FidoNet
- 21:21/2 - FishNet
- jadams@csn.org - Internet
-
- Or, you can call Destruct Zero BBS at (303)797-3805. By the way, the name is
- Marion.