I don't know the follow up on the script but this is an example of what you could do to learn a little about ini files wich are pretty useful.
on $*:text:/^[!.@]topicset/Si:#:{
if ($nick(#,$nick,o) {
if ($2) {
writeini -n bot.ini Topic $chan $$2-
notice $nick You've added $readini(bot.ini,n,topic,$chan) to the Topic List.
}
}
else {
notice $nick You do not have the access required to trigger the Topic List.
}
}
If an Op (@) writes !topicset it will write to an .ini file as for example:
[Topic]
#Channel=What ever went after the trigger
If you want to see more about .ini files just do /help /writeini