home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Datafile PD-CD 5
/
DATAFILE_PDCD5.iso
/
utilities
/
s1
/
spraywall
/
!Spraywall
/
!Help
next >
Wrap
Text File
|
1997-03-09
|
14KB
|
344 lines
_ _____ _ _
| |/ ____| | | |
| | (___ _ __ _ __ __ _ _ ___ ____ _| | |
| |\___ \| '_ \| '__/ _` | | | \ \ /\ / / _` | | |
|_|____) | |_) | | | (_| | |_| |\ V V / (_| | | |
(_)_____/| .__/|_| \__,_|\__, | \_/\_/ \__,_|_|_|
=========| |=================/ |==================
|_| |___/
© Werewolf Software 1997
Written by Dane Koekoek
Version 1.12 (16th February 1997)
Introduction
~~~~~~~~~~~~
!Spraywall is an ARCbbs door which allows users to write a few lines of
`graffiti` for other users to see. It can be a sort of chat forum for short
messages and comments, or could also be used by the sysop to post a quick
announcement.
Using !Spraywall
~~~~~~~~~~~~~~~~
Right, the first step to using !Spraywall is to copy !Spraywall out of this
archive and into your doors directory.
Next you need to set up a menu option for the spraywall.
Example config for ArmBBS
~~~~~~~~~~~~~~~~~~~~~~~~~
defitem S
display `Spraywall`
help ` Write on the Spraywall`
[
door `1 10 <ArmBBS$Dir>.Doors.!Spraywall`
]
enditem
Example config for ARCbbs
~~~~~~~~~~~~~~~~~~~~~~~~~
DOING "Main Menu"
OSCLI "WimpTask <ARCbbs$Doors>.!spraywall"
DOOR 10
GOTO mainmenu
Right, next you need to configure !Spraywall. Go inside !Spraywall and load
up the Config file inside it. It'll look something like this:
=============================================================================
BBS Name:The Werewolf BBS
Door number:10
Sillywall:No
Sillyuser:Andrew Lobel
Number of previous lines displayed:10
Maximum number of lines to write in:3
Name colour:32:B
Wall colour:33:B
Line colour:36:F
Colours:Yes
Colour char:~
Fullnames:Yes
Swear filter:Yes
=============================================================================
The first two lines should be self explanatory - your BBS name and the door
number you're allocating for !Spraywall. The third and fourth lines are an
extra feature for the Spraywall. If sillywall is set to Yes then there is
a 1 in 15 chance that when someone writes in the Spraywall the user
specified as the sillyuser will write a line of complete junk!
The fifth line is an option to allow you to alter the number of lines
written previously !Spraywall displays. The more this number, the more
screens every user has to wade in through every time theey go to the
spraywall option on your BBS. The sixth line is for the maximum number of
lines a user can write in one go at the spraywall.
The seventh and eigth lines are the default ANSI colour codes for the
colour of the name of the user line, and the colour of the wall line. These
are minus the 3 that you normally find infront of ANSI codes, so are more
like ArmBBS colour codes really. The same codes are used for the colours
in the spraywall itself.
The ninth line is to turn on the exclusive colour-redefining routines in
the spraywall if it's set to yes, and the tenth line is to define which
character enables redefining of colours in the spraywall.
The eleventh line defines whether you wish lines to be stored with
a prefix of "Dane Koekoek wrote on xxx" or "Dane wrote on xxx". With fullnames
set to yes it uses the former, whilst anything else makes it use the latter.
Your next step is to try out the spraywall for yourself on your BBS. Then
try it out with your users and see what they think too! I hope you like it!
The last line allows you to turn on the built-in swear filter on. The default
is on, and it will automatically chuck out any user who swears whilst in
!Spraywall. In addition to the built-in list of swear words, you can add your
own. To do this, load the file SwearWords inside !Spraywall into your
favourite text editor and add any extra words you wish to ban. It is very
important you leave no blank lines - the only line with nothing in it should
be the final line.
Extra features
~~~~~~~~~~~~~~
If you press control-c at any of the prompts, !Spraywall exits back to the
BBS server.
If you press n or N at any of the `press any key` prompts, then !Spraywall
will go straight to the end and ask you to enter your message, without
reading the whole wall.
You can deny users access to the Spraywall by adding their names to the
file called TwitList. Possible causes to do this could be because they
constantly post annoying adverts for their BBS there.
There is a swear filter which chucks a user out if they swear on the wall
and then tells the whole BBS that they've been silly by posting up a strange
message about their personal tastes. :-) What they said is logged in a file
called OutLog inside !Spraywall to inform the sysop of what they've actually
been saying.
There's now the facility to add colours into the text when a user writes
in the spraywall. Standard ANSI colour codes apply here - try it out,
it's different. :-)
History
~~~~~~~
1.00 First version. Written solely for use on The Werewolf BBS. Simply a
better version than Chris John's spraywall, and also cured a few
bugs in his.
1.01 Changed a few things a bit. Had loads of complaints from users. :-(
1.02 Finally sorted out a load of the bugs and got the program to work
decently.
Added in option to have more than one line, number of previous
lines shown and made it fully configurable. Released to John
Stonier. :-)
1.03 Tidied up a few things in the code. Fixed a major bug I just
introduced (:-) ). Added the colours feature. Removed Stars option.
1.04 Now made the colours feature an option, so you can turn it off if
you or you users don't like it (though I can't see why! :-) ).
Changed the key for the colours from the top to the bottom, cos you
couldn't see the key when writing your line!!! :-)
1.05 Now made it scan upto port 32 instead of 15 <ahem!>. Thanks Richard
for sorting that silly out.
Made memory usage work properly, so the wimpslot automatically gets
larger as the Wall file gets larger. This has the disadvantage that
if your Wall file has been in use for a very long period of time
and has reached, say 200K, then the wimpslot of Spraywall will be
200K bigger than it is with a blank Wall file. Cure for this -
manage your Wall file every so often.
Sorted out the sillywall option so it actually does the silly
lines - misplaced variable!
1.06 Sorted out the config file handling so if sysops put wrong numbers
in config it /should/ go to sensible figures.
Changed config file so there's an extra option for the colour of
the lines going across.
Changed numbers of colours so they're now try ANSI colours - ie 34
instead of 4 for dark blue.
Added :B or :F onto these lines for Bold or Feint colours for those
lines.
It now checks for what type of terminal the user has and if they're
not using an ANSI terminal then it chucks them out of the door.
Three lines per session of writing is now the maximum due to the way
the program has been designed.
1.07 Control-I now gives a help page when in the door.
Control-R redisplays the wall.
Read the help screen for full info on the keypresses supported.
Added in legend to tell user to press Control-I to display the help
screen.
1.08 Tidied up a few things.
Removed the dynamic memory stuff that I spent ages putting into
the code! :-) Please note that you can delete past text written by
holding down delete and it'll go up the line. However, it works
okay on ArmBBS local login, but nowhere else does it seem to jump
to the next line, but it does delete the text... Working on making
it delete the text on screen too. :-) Sorted out a slight bug where
the text kept on popping up f