INFO
blocker - the block tool manual
DESCRIPTION
Blocker.
--------
A hack made by Qqqq, feel free to do anything with it as long as you update
this doc. and make comments in the code and ChangeLog.
The blocker is located in: /secure/blocker, clone it to get it.
Blocker lets you block everyone but superiors, it also lets you,
choose who to block or who not to block.
This program is autoloading and needs no activation. To deactiate it simply,
destruct the object (brutal), or just do 'Set 0 0 0' (Nice way).
To use blocker you need to have a closed dir in your main directory.
Do: 'cd' and then 'mkdir closed' if you don't have one.
(See the Note at the end of this document)
The commands in Blocker are:
Save It will save your settings.
Load It will load all your previously saved settings.
Set [level] [trace block bag unknown]
This is sort of the magic function that does everything.
Here you either set the minimum-level of those you shall
listen to or you set three things at once:
Trace <0/1> 0 is disabled, 1 is enabled. Will let you
trace who said something to you.
Block <0/1/2> 0 is disabled.
1 is letting you block all
but your friends (explained more in Blocked)
2 is blocking only your enemies.
With both 1 and 2 you will block out
all who is below the level you
can set by doing: Set [level].
Bag <0/1/2> 0 is disabled, 1 writes everything that is
blocked to the file ~/closed/bag.log.
2 writes everything you see on your screen
to the file ~/closed/last.log. This can
only be used by 30++.
Please try and remove the files now and then.
Unknown <0/1> 0 means you will not block text that has no
detectable origin, 1 means you will. An
example of this is a message from your shell.
If you don't give any argument to Set it will return the
status of the blocker.
An example:
> Set 1 0 0 0 // This will now let you enable trace and disable
block and bag.
> Set 20 // This will make you block all below level 20,
whenever you enable the blocker.
> Set 0 2 1 0 // Now you will stop tracing and block and bag
everything anyone below level 20 and
what your enemies says/shouts/etc.
Blocked If is given then it will show all your enemies otherwise
it will show all your friends (Hey how about that!).
Your friends is people who shall be able to tell/shout/etc you
stuff even if your Block is 1.
You enemies, people who bother you, will be blocked out
if you set Block to 2, and everyone else can tell/shout/etc
to you.
Add Will add a person to your friends list.
AddN Will add a person to your enemy list.
Sub Will remove a person from your friends list.
SubN Will remove a person from your enemy list.
NOTE
When you first clone the blocker, you need to follow a few simple
instructions.
mkdir ~/closed
edac ~/closed /local/q:ALL
edac ~/closed /secure/blocker:ALL
edac ~/closed $REST:NONE
Save
Doing this will initialize your blocker and give it the appropriate
file-permissions on the directory it works in.
Also, the Set command will fail for you if you have a shell, because
the shell also has a command called Set, and that command will take
priority over the blocker. So, wherever this doc refers to the Set
command, you should instead use \Set. For example, instead of:
Set 0 2 1 0
You would use:
\Set 0 2 1 0
Some methods of connecting to NannyMUD will disable the \ character.
Refer to the documentation for your client/telnet/etc to fix this.
Help topics available:
| Syntax | acl | admin | ange-ftp | blocker |
| concept | damage_types | disk | feelings | ftp |
| quality | tasks | terrain | wizard | wizline |
| wizlevels | wizsoul | wiztool |
You are guest number 208 since November 2019.
This file was last modified: June 2000.