I suggest you start reading up on tcl scripting - this is best achieved by a: downloading the source and reading all the docs that come with that, and b: start downloading scripts from the tcl archive and studying them for pointers.
Once you've learnt tcl scripting, you'll be able to do anything you want!!
apart from that, yes, thats exactly what it would do, but it would let even non-users set the topic, which may be undesirable. You might wanna use bind pub ov|ov !topic, which would only allow ops or voices to trigger this command.
Mortitian, you'll need to pay a bit more attention to strings that can possibly contain [] chars and handle them with care...
Ignorant and lazy people will save 30 minutes by chosing simple config file. Smart ones will save 3000 minutes of *everyone's* time by opting for complete config file.
It was of course mistake on my part. I apologize. Tho if there was no hard evidence (luckily there are previous postings) i would sware i saw something fisshy, either lists, or misshandling of stirng.. But obviously, it is not the case here. Appologies once again.
Ignorant and lazy people will save 30 minutes by chosing simple config file. Smart ones will save 3000 minutes of *everyone's* time by opting for complete config file.