I'm using this script for change the topic:
bind pub o|o "[char]topic" pub_topic
proc pub_topic {user uhost hand chan arg} {
set topic [lrange $arg 0 end]
putserv "TOPIC $chan :$topic"
putlog "$chan: Changing topic too \"$topic\" by request of $user\[$hand\]"
}
but if i do !topic [test]
it changes the topic for "{[test]}"
what's the problem?
it isn't mine.
it's a modified version of ophelper that i found in google. i am only tring to fix some bugs and ajust something.
i'll change the topic for "$arg" and i 'll use [join [lrange [split $arg] 0 end]] for the kick and kickban. thanks