hello topic lock check this

alias topiclock {
topic $chan $1-
set %topiclock on
set %topic $1-
set %chan $chan
echo topic is locked
}

on *:Topic:%chan:{
if (%topiclock == on) { goto start }
if (%topiclock == off) { goto end }
:start
topic %chan %topic
:end
}

(C) Dr4g0n :P