[Prev][Next][Index][Thread]

# Re: alternative logins

- Date: Tue, 29 Aug 1995 15:01:17 PDT
- From:
- Reply-to:
- cc: Linda Polin <lpolin@pepperdine.edu>, MOO-Cows.PARC@xerox.com
- Content-Type: TEXT/PLAIN; charset=US-ASCII
- In-Reply-to: <Pine.3.89.9508291656.A11865-0100000@UNCVX1.OIT.UNC.EDU>

    On Tue, 29 Aug 1995 COLIN@uncvx1.oit.unc.edu wrote:

    > Annother possible way to organize this, is by having guests of a specific
    > type wake up in the area, by modifying either their confunc, or their
    > disfunc verbs to move them to the right area. you can achieve this by
    > simply adding a .home property to the guests, and putting the line
    > 'this:moveto(this.home);' in either of the verbs.  (On my MOO, we've got
    > it set up to move everyone to the Body Bag when disconnecting, saving
    > their previous location and moving them back when they reconnect.)
    >
    I'd suggest putting it in the guest's :do_reset (or something like that)
    verb.  Actually, it already does this so you can just set it's .home
    wherever you want.
    If you want the other kind of guests to use different commands, it might
    be better to make a child of $guest and corify it as $alt_guest and then
    hack it's :defer verb to only return children of $alt_guest.  Then you
    could add the name that you want other people to log in with instead of
    'guest' as an alias to one of the children of $alt_guest and put the
    extra guest verbs on $alt_guest.  You might also have to hack
    $guest:defer to make sure it doesn't return children of $alt_guest but
    I'm pretty sure it uses children() instead of $object_utils:leaves() and
    I don't think it will use $alt_guest itself since it shouldn't have a
    .player bit.

    *****************************************************************************
     *       Don Schwarz <darkowl@tezcat.com>          *     PGP fingerprint:    *
     *        http://www.tezcat.com/~darkowl           * 6E 3E B9 38 CC C2 CA CD *
     * ->Come to EnigMOO!! (junior.wariat.org 7777)<-- * 4A ED 48 66 27 FA 1C 37 *
     *    Dark_Wiz @ EnigMOO,  Clam_Boy @ AquaMOO,     ***************************
     *  Dark_Owl @ EnigMOO, LambdaMOO, OutlawMOO, OutlawMOO, MOO2000, KingdomMOO *
     * PMC-MOO, PizzaMOO, RiverMOO, NovaMOO, ErasMOO, GhostMOO, MOOtiny, OpalMOO *
     *****************************************************************************

References:

- Re: alternative logins

- From: COLIN@uncvx1.oit.unc.edu

- Prev: Re: alternative logins
- Next: RE: alternative logins
- Index: MOO-cows
- Thread: MOO-cows

Home | Subject Index | Thread Index