Is there a topic script for eggdrops that kinda looks like this
if i type !topic something bot changes topic and if I type !topic hello it changes topic to Something (nickname who posted topic) || hello (nickname) ?
Code: Select all
bind pubm o|o "!topic" topic
proc topic {nick uhost hand chan text} {
set text [lindex [split $text] 0]
if {$text == ""} {
set person $topic
}
putserv "TOPIC $chan :$topic"
}
Code: Select all
bind pubm o|o "!topic" topic
proc topic {nick uhost hand chan text} {
set ntopic [lindex [split $text] 0]
if {$ntopic == ""} {
set ntopic $topic
}
putserv "TOPIC $chan :$topic"
}[code]
this one will make no errors... but I'm not sure if it'll work