# News (was Re: Please no flames)

Tom Ritchford (tom@mvision.com)
Wed, 7 Feb 1996 09:55:10 PST

- Messages sorted by:[ date ][ thread ][ subject ][ author ]

        PMC MOO has an excellent implementation of news
    (due to Defender?) which we at Id have stolen, er,
    borrowed.

        In this mechanism, you create a $news_item which
    is a descendent of $note and edit it as usual.  Then,
    you put it into the $news object.  This alerts all the
    connected players that a new item has entered the news
    database.

        To remove news, you can take it from $news and either
    recycle it or put it into another object ($oldnews on PMC
    and on Id.)

        I just recently changed $note so that its information
    is cached using FUP.  This flows through to $news_items
    except I had to make a tiny change to PMC's $news_item
    (which used to look at the property .text instead of using
    the access function :text)  You can get this from us at Id.

        /t

    Tom Ritchford     tom@mvision.com, tom@weirdos.com

    Verge's "Little Idiot" -- Music for the mentally peculiar.
    1-800-WEIRDOS           http://www.fly.net/~tom/verge.html