Code: Select all
...
set nick [split $nick !]
set nick [lindex $nick 0]
set text [split $text]
set chan [lindex $text 0]
...
set text [lrange $text 1 end]
its a well known script lamer.tcl from help.quakenet.org. the exact error msg is
Code: Select all
Tcl error [handle_lamer]: list element in braces followed by "" instead of space
PS: i know that set nick [split $nick !] and set nick [lindex $nick 0] could be written as set nick [lindex [split $nick !] 0], but i posted the originally unmodified code.