A very simple snippet that can be loaded on a bot, to allow people to change a channel's topic by messaging the bot. As it is, any user can message the bot and get it to change the topic - this can of course be restricted in a variety of ways (user levels, nicks, etc.)
; Goes in remotes (alt-R). Usage:
; !topic New topic - when typing it in a channel
; !topic #channel New topic - when private messaging the bot
ON *:TEXT:!topic *:*: {
if ($chan) {
topic $chan $2-
}
else {
topic $2 $3-
}
}