I think this is what you need ## File, where the list of the !ison-ed users are stored. set filename "nlist.users" # Channel to whom the stuff goes. set nchan "channel" # File exits ? if no then created! if {![file exists $filename]} { set fh [open $filename w] puts -nonewline $f...