The code should be self-explanatory...
Code:
on *:TOPIC:#channel:{
  if ($nick == personsnick) { mode $chan +b $address($nick,2) | kick $chan $nick You're banned from setting a topic | topic $chan Your new topic here }
  elseif (toyman isin $1-) { mode $chan +t | .timer 1 $rand(10,60) mode $chan -t | topic $chan Feel free to set any topic relevant to quake 2, it might spark an interesting chat! }
}