Who's on channel

Requests for complete scripts or modifications/fixes for scripts you didn't write. Response not guaranteed, and no thread bumping!
n
nml375
Revered One
Posts: 2861
Joined: Fri Aug 04, 2006 2:09 pm

Post by nml375 »

This should do the trick

Code: Select all

bind time - "?0 *" write:chans
bind time - "?5 *" write:chans
set listchannel "#thechannel"
set listfile "nicks.txt"

proc write:chans {m h d mo y} {
 set f [open $::listfile "CREAT WRONLY TRUNK"]
 puts $f [join [chanlist $::listchannel] ", "]
 close $f
}
NML_375
m
mazmardigan88
Voice
Posts: 2
Joined: Fri Aug 10, 2007 2:05 pm

Post by mazmardigan88 »

Oh thanks!! You saved my ass!! :D
Post Reply