[DGD] Receive Message for everyone?

Erwin Harte harte at xs4all.nl
Thu Aug 8 15:32:05 CEST 2002


On Thu, Aug 08, 2002 at 06:19:30AM -0700, Ryan Elgram wrote:
> am wondering if there is a function similar to receive_message for all
> users? Basically when someone types in a command and it is echoed out to
> all the other connections, is there a function that I can add to the
> string they are getting? am wondering if there is a function similar to
> receive_message for all users? Basically when someone types in a command
> and it is echoed out to all the other connections, is there a function
> that I can add to the string they are getting?

But I repeat myself?

Basically you sound like you're looking for a shout() function.
If so, just take the array as you'd get it from the users() kfun and
call the relevant function there with whatever string you had passed
on to the shout() function.

Hope that helps,

Erwin.
-- 
Erwin Harte <harte at xs4all.nl>
_________________________________________________________________
List config page:  http://list.imaginary.com/mailman/listinfo/dgd



More information about the DGD mailing list