set files(2) "/blah/blah/file1"
set files(3) "/blah/blah/file2"
proc add_url {nick host hand text} {
global files
set a [open $files(1) r+]
set b [read $a]
set c [open $files(2) r+]
set d [read $c]
set e [open $files(3) r+]
set f [read $e]
if {[string match -nocase "*$text*" $b]||[string match -nocase "*$text*" $d]||[string match -nocase "*$text*" $f]} {
return 0
}
seek $a 0 end
seek $c 0 end
seek $e 0 end
puts $a {text}
catch {close $a}
catch {close $c}
catch {close $e}
}
do you mean like this?
but it still didnt work, my bot even cannot detect if the url is on those files?
think i have already give up and so depert

