# [PROG] Re: chat rooms

F HAGER X0366 (LIFH@atuvm.atu.edu)
Sun, 5 Nov 1995 16:19:03 PST

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

    >@create $thing named microphone
    >@prop microphone.broadcast_to {}
    Considering the purpose of this MOO is to listen to the speaker.. I'd
    say this would be all rooms, and thus $object_utils:descendants(#3)
    would work nicely.
    >@verb microphone:tell this none this rx
    >@program microphone:tell
    >msg = tostr("[from ", this.location:name(), "] ", @args);
    >for room in (this.broadcast_to)
    Once again noting that for all rooms.. a suspend of some sort should be
    here.
    >  room:announce_all(msg);
    >endfor
    >