but now it shows this error:
here's the ctcr_ping proc :Tcl error [ctcr_ping]: wrong # args: should be "lindex list index"
Code: Select all
proc ctcr_ping {nick uhost hand dest keyword arg} {
if {([lindex $arg 0] == "CHECK") && ([validnum [set time [lindex $arg 1]]])} { puthelp "PRIVMSG [lindex
$arg 2] :\[$nick PING reply\]: [expr abs([clock clicks] - $time) / 1000000.0] seconds" }
}