[TF] World activity messages (was: TinyFugue 5.0 alpha 10 released)
Brought to you by:
kenkeys
|
From: karen at etheridge.ca (K. Etheridge) - 2003-05-28 18:36:54
|
On Wed, May 28, 2003 at 11:46:37AM +0100, Azrael wrote:
> On Wed, 2003-05-28 at 10:46, Justin wrote:
> > And for your activity command, how about something like...
> >
> > /def -hACTIVITY showactivity - /echo %% Activity in world %1
> >
> > (but then you get two of them when you're not in visual mode...Ken, maybe a way to make the alert stream go into the current world stream, rather than the status line - or perhaps both - if we so desire?)
I gag the builtin activity hook:
/def -i -Fp1 -aG -hACTIVITY -q hook_activity_norecord
You could divert the message to another stream by adding your own activity
hook:
/def -i -Fp10 -hACTIVITY hook_activity3 = \
/echo -w Activity in world %1.
> That's just what I wanted, thanks! And I use visual mode all the time,
> so that's not a problem. By the way, is it possible to send an echo to
> all connected worlds somehow?
/send -W sends to all worlds. This would echo to all worlds:
/require lisp.tf
/def echow=/echo -w%1 Text to echo
/mapcar /echow $(/listsockets -s) Text to echo
(Ken: an /echo -W flag would be helpful.)
--
"The law, in its majestic equality, forbids the rich
as well as the poor to sleep under bridges, to beg in
the streets and to steal bread." - Anatole France, 1894
. . . . .
Karen Etheridge, ka...@et... GCS C+++$ USL+++$ P++ w--- M++$
http://etheridge.ca/ PS++ PE-- b++ DI++++ e++ h(-)
|