home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Beijing Paradise BBS Backup
/
PARADISE.ISO
/
software
/
BBSDOORW
/
KING804.ZIP
/
KOBMTD.DOC
< prev
next >
Wrap
Text File
|
1992-11-27
|
3KB
|
65 lines
King of the Board
Monthly Champion Update
Written by Chuck Valecek
Here is a quick utility that will create a monthly champion bulletin and
if running the points version of the door, reset the King of the Board users
file.
Since King of the Board is not crippled I created this program for those
sysops who registered the Door. It will not run if your King of the Board is
not registered. Sorry, but I had to do something for those registered sysops.
In both versions of the door a bulletin showing the user in the top
position will be created. If the points version is being run then the King
users file will be reset and the sysop's name will be the only name in the file.
This allows the other users a chance to get to the top and to acknowledge the
top position in each version of the game.
The program was designed to run in your event and based on the day of the
month will create a bulletin showing who was the monthly champ. If you are
running both versions then the program should be run twice, each with a
different configuration file.
There is a little CFG file that is required for the program to run. This
file will be created the first time the program is run.
Example command line: KOBMTD KOBMTD.CFG
If no file is specified then the program will abort notifying you that a
config file must be specified. If the file is not on disk then you will be
asked a series of questions. If the config file is not in the current
directory you can specify the entire path/file name of the config file.
NOTE: When prompted for file names specify the FULL Path/name of the files.
When run, the program will read the config file. If the day equals the day
you specified it will create a backup of the points version of the KING.USR file
and rename it KING.MM, where MM is the month, and place the sysop as the only
person in the file. When starting a new game the first person in the door is on
top and not allowed to play, so by placing the sysop in the file the first
player has a chance to challenge the sysop.
The bulletin will be created the first time and then every month afterwards
it will append the first person in the users file as the current champion.
If points are in effect then the bulletin will contain the points the champion
earned. If the day is not equal to the day you specified then the program
will just exit and nothing will be done.
NOTE! The actual name of the bulletin can only be 7 characters in length, not
couting the path. The program will append a G to the file name so that a
Color bulletin and a Non-Color bulletin can be created.
This program does not have to be run from the event, but it looked like the
most likely place to run it without worrying about it.
Enjoy! If you see a problem you know where I can be reached at.
Suburban Software
PO Box 368
Oak Lawn, IL 60454
708-636-6694 Forval 19.2 or 708-636-6697 USR DS
As of 8/6/91 there is a beta version of King 7.14 running. If it gets a clean
bill of health it will be released soon.