And there is a command for changing topic
But I want it to have 2 topics
like if I type:
!siteup
It will change the topic to something like The Site Is UP
and
!sitedown
It will change the topic to something like The Site Is Down
this is a snippet from the pubmodes.tcl
Code: Select all
#===========topic============
proc modes:topic {nick userhost handle chan text} {
set topic $text
if {$topic != ""} {
putserv "TOPIC $chan :$topic"
}
}
or if a new script is needed?