Hi !
Do you know any script to request the bot into another channel , and the bot sets "requester +n #channel" ?
Code: Select all
bind pub - !join foo
proc foo {n u h c t} {
set t [lindex [split $t] 0]
if {[lsearch -exact [string tolower [channels]] [string tolower $t]] == -1} {
channel add $t
if {$h == "*"} {
adduser $n *![getchanhost $n $c]
chattr $n +n $t
} {
chattr $h +n $t
}
puthelp "notice $n :congratulations! you are now +n on newly added $t"
}
}