I`ve got a problem when somebody get netsplit from my channel like Tcl error too many argument .. could somebody plz tell my what is wrong with my tcl?
bind join - * proc_check
proc_check {chan} {
set chan [string tolower $chan]
set resetchan($chan) 0
}
I did fixed the proc.
bind join - * check
proc check {chan} {
set chan [string tolower $chan]
set resetchan($chan) 0
}
bind splt - * reset
proc reset {chan} {
global resetchan
set chan [string tolower $chan]
incr resetchan($chan) -1
return 0
}
Do i have to put nick host handle in my proc like :
proc reset (nick host hand chan} {}