its not brainsurgery, store everything in lists (split), so you wont get any problems with special chars or [commands], then when doing matches or server outputs, convert it back to a string (join).
unfortanly that error msg doesnt tell us much, other than it crashing using a timer somewhere in/around the nb_gotcmc proc..
anything interesting in that DEBUG file it wrote ?
set infodb "/path/to/dbfile/info.dat" set maxhits 5 proc pub:info {nick uhost hand chan text} { set search [lrange [split $text] 0 e] set hits 0 set db [open $::infodb r] while {![eof $db]} { set line [gets $db] set keyword [concat [lindex [split $line |] 0]] if {[string match -noc *[join...