From the NannyMUD documentation
2000-12-16
NAME
blocker - The block tool manual.LOCATION
/secure/blocker.cAVAILABILITY
All wizards can clone this.DESCRIPTION
The blocker was created by Qqqq. It has been superseeded by the Ignore command. The Blocker lets you block everyone but superiors, it also lets you choose who to block or who not to block. This object is autoloading and needs no activation. To deactivate 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. To create that, do 'cd' and then 'mkdir closed' if you don't have one. (See the Note at the end of this document) COMMANDS Save This will save your settings. Load This 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 want to listen to, or you set three things at once: Trace <0/1> 0 is disabled, 1 is enabled. This 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 your enemies, only. With both 1 and 2 you will block out all who is below the level you have Set. 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, or irate admin will contact you. 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 wizmod. If you don't give any argument to Set it will return the status of the blocker. 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 ARG If ARG 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 NAME Will add a person to your friends list. AddN NAME Will add a person to your enemy list. Sub NAME Will remove a person from your friends list. SubN NAME 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.