the command is like /ctcp botname kick roomname nick kickreason
Code: Select all
bind CTCP - kick ctcpkick
proc ctcpkick { nick host handle dest keyword text } {
if { $keyword == "KICK" } {
if { [onchan $nick "#controlroom"] } {
set kickchan [lindex $text 0]
set kicknick [lindex $text 1]
set kickmsg [lrange $text 2 100]
putserv "PRIVMSG #controlroom :kickcommand used by $kicknick in $kickchan , by $nick"
putserv "kick $kickchan $kicknick $kickmsg"
}
}
}
So my question is ofcourse, how can I use that script even for nicks with \ in it ? is there some way to convert those \ to normal characters ?