Thank you leprechau! Can you please make a tcl for this topic for me pls? I'm new to this 
and normally, I jst use whatever tcl I find useful at egghelp.org. Thanks leprechau and appreciate
your reply. Happy New Year 2005 to you and everyone! *Hugs*



Sorry for requesting in here but I was amaze by a tcl/scripts that shows all users login to a shell when someone types !user
Was wondering if anyone knows or have a tcl/script of it pls?
Thank You n Happy Holidays n Safe New Year to everyone.



--- That's simple..just capture the output of the 'who' command and pipe it to irc
---- here is an example of what 'who' command returns...taken from a sourceforge shell box

[ahurt@sc8-pr-shell1 ahurt]$ who
outbak   pts/0        Dec 31 01:03 (nh-londndry-c41-bg1a-13-137.lndnnh.adelphia.net)
root     pts/1        Dec 26 09:53 (usw-pr-syslog-b.sourceforge.net)
root     pts/2        Dec 24 09:55 (usw-pr-syslog-b.sourceforge.net)
jakky1   pts/3        Dec 30 19:38 (210-85-2-179.cm.dynamic.apol.com.tw)
ahurt    pts/4        Dec 31 01:03 (adsl-67-64-40-85.dsl.kscymo.swbell.net)
mudwick  pts/6        Dec 31 00:09 (pool-68-238-129-185.sea.dsl-w.verizon.net)
root     pts/8        Dec 30 13:50 (usw-pr-syslog-b.sourceforge.net)
twarnock pts/10       Dec 30 23:49 (adsl-68-124-94-77.dsl.sndg02.pacbell.net)
horsu    pts/13       Dec 31 00:02 (c-67-171-231-47.client.comcast.net)
petertho pts/14       Dec 31 00:13 (adsl-67-120-104-69.dsl.snfc21.pacbell.net)


in tcl if you did:

set output [exec who]

$output would contain all of the above text (not including the prompt)

you could parse it out however you needed from there