home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Elysian Archive
/
AmigaElysianArchive.iso
/
comm
/
mch19.lha
/
MCH.doc
< prev
Wrap
Text File
|
1993-07-31
|
6KB
|
158 lines
M a s t e r - C a l l H i s t o r y
v1.9
A superior caller history utility
(c) Phillip Eastham 1992, 1993
------------------------------------------------------------------------------
What is it:
~~~~~~~~~~~
Master-Call History is a utility which allows your users to see who
has called the BBS.
I was using DLG-LastCall Plus v3.0, but this had a few annoying
features, so I decided to write my own. Some features are:
o Unlimited number of last callers.
o No addition of sysop name if the sysop was the last caller.
o Update last caller and last user in above case.
o Add/Not add to call statistics in above case.
o Last callers list uses DLG % switches instead of ANSI ESCape codes.
o Doesn't display ANSI colours if the user has them turned off.
o Realtime display of last x callers during log-on.
o Turn verbose last caller details off.
o Custom header on last callers list.
o Exclude a user from being listed, eg a 'Guest' account.
o Exclude a certain port from being added.
o Choose to add time or not.
o Highlight new users.
o Now much safer for multi-line operation.
o Strips leading 0 from date field.
o Reduced command line.
o Uses dlg.library to get user information.
o Fast!
Setting up:
~~~~~~~~~~~
First of all, copy the file 'MCH' to your DLG: directory, or anywhere
else on your path.
Then edit your DLGConfig:Batch/login.(dlg)batch file and insert the
appropriate calling line. The parameteres are discussed later.
If you have been using DLG-LastCall Plus v3.0, you may simply copy the
file 'DLGConfig:Misc/LCP.DAT' to 'DLGConfig:Misc/MCH.DAT'. MCH uses the same
data file format. IT DOESN'T USE THE SAME LAST CALLER LIST HOWEVER.
You will need to edit/add a menu item to your main menu, or another
suitable menu, to display the last callers text file. The included IFF picture
shows how to set it up correctly.
After the initial run of MCH, you may add/delete lines from the
header. Remember to adjust the parameter in the calling program as well.
Parameters:
~~~~~~~~~~~
Master-Call History has many parameters. You should call Master-Call
History as follows:
DLG:MCH [-D] [-E"Excluded name"] [-Hx] [-Ix] [-L[1]] [-N] -P%PORT
-> [-QExcluded_port] [-R] [-S"Phillip Eastham"] [-Tx] [-U] [-V]
(This should all be on 1 line)
Those parameters in []'s are optional. Order and case are unimportant.
-D - Add in time to list. Can be added/removed at anytime. Blanks
are simply inserted instead of a time value if switch is
active.
-E"Excluded Name"
- "Excluded Name" is the name of the person you DON'T wish
added to the list.
-Hx - Number of header lines. x can be from 0 to 9. MCH defaults
to 3 header lines. If you wish to add lines into the header,
simply change this value. Make sure you also make changes to
the data file (DLGConfig:Text/MCHLastCall.TXT) as well or else
you will get odd results the next time MCH is run.
-Ix - Display last x callers during log-on. Doesn't display the usual
header. Reports to user 'The last x callers were:' and then
lists the number of callers set in x.
-L - When this option is on, and the last caller was the person
defined by the -S switch, details for this call are not added
to any of the data files. As far as MCH is concerned, you
haven't called.
-L1 - Updates the last caller and last user files with this calls
details, overwriting your last call.
-N - Used when you have either '-L' or '-L1' turned on. Will
update the call statistics.
-P%PORT - The port the user is on.
-QExcluded_Port
- This is the port you wish to exclude from the list. DO NOT ADD
THE ':' TO THE PORT. LEAVE IT AS A 3 LETTER NAME.
-R - Clear the screen at the start. (Use to be switch -C)
-S"Phillip Eastham"
- Place your name in the quotes. This is used in conjunction
with the -L parameter to determine if your details should
be added to the data files.
-Tx - Where x is a number greater than 0. This is the number of
callers to keep history on. If not included, MCH defaults to
the last 50 callers.
-U - Turn on new user highlighting.
-V - Turn verbose 'Last Caller' ON (Default is off).
Redundant switches:
~~~~~~~~~~~~~~~~~~~
The following switches have been made redundant:
-A%ANSI - Now taken from USER:<%UNAME>/User.Data
-B%BAUD - Now taken from T:<port>.User
-C%CALLS - Now taken from USER:<%UNAME>/User.Data
-F"%CITY" - Now taken from USER:<%UNAME>/User.Data
-U"%NAME" - Now taken from T:<port>.User
Anything else?
~~~~~~~~~~~~~~
Yes! If you create your own 'MCHLastCall.txt' file, make sure that you
have an EOL at the end of the last line. This means pressing <RETURN> at the
end of the last line. MCH will produce an error if you don't do this.
Error output:
~~~~~~~~~~~~~
Should a fatal error occur with Master-Call History, the program will
terminate cleanly. A file in 'USER:' will be created which will hold the last
error messages produced.
Program status:
~~~~~~~~~~~~~~~
Master-Call History is freeware. Use it as you please. I would
appreciate a Mail message saying that you are using it and telling me what
you think of it. Any bug reports or suggestions for improvements can be sent
to me via Fido or UUCP:
Phillip Eastham@3:622/406
phillip_eastham@kumear.apana.org.au