Oh, just put a listener prop on the object you want to 'wire' and make
it point to a bit of code that echoes everything it receives back
somewhere else.
In its simplest form (assuming it only needs to be echoed to you), you
could get away with something like this..
: myspy me @ swap notify ;
If you want the message to be broadcast to a room, instead go with..
: myspy #someroom #-1 1 notify_except ;
That is really all the basics.. everything after that is mostly
whatever filtering and styling you may want the code to do.
Just remember that to make a program act as a listener, you need to
flag it properly (exactly what the right flags are might depend on
your configuration.. at least link_ok or it will not let itself be called)
--- In protomuck@yahoogroups.com, "Silowyi" <silowyi_dracotiri@...> wrote:
>
> Woot, a reply, but I still don't know how to do it.
>
> --- In protomuck@yahoogroups.com, Peter Swales <peter.swales@> wrote:
>
> > Yeah, thats pretty easy to do