( AnotherDirectory.MUF ---- Version 2.4 ---- by Ginger@FurToonia ) ( ) ( Less db-intensive hotel/apartment directory manager. Quick setup: ) ( @open claim;clear;setdir= ) ( @set here=claim/allowed:101 102 103 ... whatever ) ( claim #setup ) ( ) ( This program does not require the 20-odd unlinked, @chown-ok exits ) ( that hotel-dir.muf previously used [eating up @quota and dbspace]. ) ( Usage: To claim a room in the hotel: claim ) ( To change your directory listing: setdir ) ( To clear a dir listing to 'vacant': clear ) ( ) ( The claim/allowed prop must be set on the room to allow the program to ) ( set the directory up correctly. Its contents should be space-separated ) ( names of the exits that tenants are allowed to create in the order you ) ( want them to appear on the directory. You may use letters in the exit ) ( names as well as numbers, but the names must be only one word, with no ) ( spaces. 8/31/95: You can use exitnames like oom;r;room now; these ) ( will show up on the directory as just the first name, but the new exit ) ( will be created with the full listed name. Players can only claim the ) ( exit using its FIRST name [i.e., 'claim oom', not 'claim r']. ) ( ) ( This program will set props on the newly created rooms and exits which ) ( can be customised by the hotel owner. [For a list of these props, use ) ( claim #props.] The directory it maintains is contained in its @desc or ) ( it will allow you to make a fake directory object--using only one exit ) ( from your @quota, and no @chown_ok, unlinked exits people can steal. ) ( ) ( Changes 07/04/95: ) ( Added #update, changed format of MPI desc & debugged much of the code, ) ( debugged permissions checking for changing exitnames and listings, put ) ( in @quota checking and gave #setup some sanity. Spamectomied the help ) ( with the #props function. ) ( ) ( Changes 08/31/95: ) ( Let #setup run #update as well, reducing setup complicatedness, edited ) ( MPI desc again to cut to the first name of each exit in directory, put ) ( in screens to remove ambiguous exit names and/or player names from the ) ( claim/allowed property, added custom prop for parent of new room, made ) ( program refuse to let zombies claim rooms. ) ( ) ( Changes 09/09/95: ) ( Added ability to name the new room using pronouns referring to the fur ) ( who claims the exit. [Parsing claim/newroom through pronoun_sub] Also ) ( sent the other props through a similar process, so you can use pronoun ) ( subs in: claim/indesc, claim/insucc, claim/inosucc, claim/inodrop, and ) ( claim/outdesc, claim/outsucc, claim/outosucc, claim/outodrop. ) ( ) ( Changes 12/2/95: ) ( Removed above addition as being needlessly ridiculous. Only the claim/ ) ( newroom prop is run through pronoun_sub. If you want the owner's name ) ( in the @mesgs, use {name:{owner:this}} in them. MPI is your *friend*! ) ( Also automagically set the in and out exits dark, to remove those darn ) ( '%n has left.' messages. If you set the prop 'claim/showdark?:yes', it ) ( will also set the exits _show_dark?:yes so they will show up on exits- ) ( listings. The default for this option is to NOT have the prop set. As ) ( well, made it default that no-one named 'Guest' can claim exits. ) ( ) ( Changes 2/23/96: ) ( If #update finds an exit that exists but is listed *vacant* in the dir ) ( it will correct the **** directory listing. Fixed stupid bug in exit- ) ( creation subroutine. Set 'out' exit _show_dark?:yes automatically. )