home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Crawly Crypt Collection 1
/
crawlyvol1.bin
/
bbs
/
warn003
/
warning.doc
< prev
next >
Wrap
Text File
|
1993-02-15
|
6KB
|
205 lines
Logon Warning , text file displayer
===================================
Another Tavern BBS utility, other Turbo utilities from these stables
FILEBASE - File database/freq list generator (Turbo V2)
PAGE - Chat program for V2 of Turbo
PRIG - IGS text file Processor
STATSGEN - BBS Stats generator
ACCESS - Turbo V2 User access editor
VTMENU - VT52 Menu Generator
OLDFILE - Old Download File Manager (Turbo V2 ONLY)
JEKSHELL - Jekyll Protocol / Turbo V2 interface
FILEREP - New file reporter into QBBS message structures
PREPACK - Gives you greater control of who receives
Prepacked mail and when. (Turbo V2)
What does WARNING.PRG do ?
When run in your LOGON.BAT file it will display warnings/messages to a
user which are determined by time , date , access level , name or day.
How to use WARNING.PRG
Create and place WARNING.INF in your default BBS directory, run WARNING.PRG
in your LOGON.BAT , Turbo V2 users need to add the parameter
~ACCESS ~NAME
(Substitute # for ~)
if your BBS software lets you run programs on login and has the above
equivalents then you can use the program to the same extent as Turbo V2
owners.
e.g. E:\turbo\warning.ttp ~ACCESS ~NAME This allows sending of messages
to users with specified access
levels or names.
All other systems just use
e:\turbo\warning.ttp You cannot specify messages to users
using access levels or name but can
still use Time , Day and Date messages.
An example WARNING.INF file is enclosed.
How to create WARNING.INF
=========================
Each Entry in the file consists of 2 parameters seperated by a comma
on the first line followed by the message to be displayed or further
parameters to be tested. if those parameters are valid when the user
logs on and finally a ! on a new line to signal the end of the message.
All parameter lines MUST start with a # , if you wish to use # as part of
your message then make sure there is a leading space on the left hand side.
There are 5 possible options for parameters
START AND FINISH TIME
---------------------
These will make any following message be repeated every day between the
defined times.
By putting the macro %MIN in your text when you use time parameters the
number of minutes before the finish time will be substituted instead.
Times MUST be 24 hour format , pre 1000 times MUST start with an 0
eg #0934,0959
START AND FINISH DATE
---------------------
These will make any following message appear every time a user logs on
between the specified dates.
Dates should only be the day and month seperated by a /
eg #01/01,02/10
ACCESS LEVELS
-------------
You have 3 options for access level #> , #< or #=
The format for using access level is the mathmatical parenthesis followed
by a comma , followed by the value you want tested against the users access
level.
e.g. #<,32767
#>,0
#=,5
USER NAME
---------
This is the Keyword #NAME followed by the name you want tested against the
user name.
e.g.
#NAME,BAKER
#NAME,SMITH
if you include a trailing space then only the forename will be matched , a
preceeding space will usually only test the surname.
e.g. #NAME, BAKER
#NAME,PAUL <- There is a space there honest!
CURRENT DAY
-----------
This is the Keyword #DAY followed by the day you want the message to be
shown.
Valid days are MON TUE WED THU FRI SAT SUN
e.g.
#DAY,MON
#DAY,FRI
#DAY,SUN
MESSAGE MACROS
--------------
At the end of each run the program will pause for 1 second , you can make
the program pause for as many seconds as you wish between messages by adding
the macro #PAUSE to a new line in the text with a 1 second delay for each
#PAUSE on a new line , so the following in a message will pause for 3 seconds
#PAUSE
#PAUSE
#PAUSE
You can also make it wait for a keypress from the user by adding the macro
#WAIT to a new line , the message 'Any key to continue' will be sent and a
keypress waited for.
You can have more than one message displayed during each time/date period.
e.g.
#2359,0100
The BBS will be coming down for networking in %MINS
!
#15/12,25/12
Wishing a
x
*
A Merry Christmas *** and a Happy Year
*****
*******
|
To ALL my BBS Users
!
The above networking message will be displayed every day between 11:59pm
and 1:00am, whilst the pre-christmas message will be displayed at every
login during the defined dates.
You could have 2 messages defined in such a way that one is within the
time/date period of the other.
e.g.
#0100,0500
It's %MIN to 5:00am
!
#0300,0400
It's nearly time for networking!
!
between 3am and 4am , both of the above would be displayed, the same can
be applied to dates.
The following are examples of Access Level messages.
#>,0
Only users above access level 0 can see this
!
#<,1
Only New users (level 0) can see this
!
#=,5
Only users at access level 5 will see this
!