old_contents: from toflib import Plugin
  import time
  
  class PluginDonnezmoi(Plugin):
  
      def handle_msg(self, msg_text, chan, nick):
          msg = msg_text.split(" ")
          if msg[0:2] == ['donnez', 'moi'] and msg[2] in ('un', 'une'):
              what = ' '.join(msg[3:])
              for m in what:
                  self.say(m.upper())
                  time.sleep(0.5)
  
new_contents: "See PluginDonnezmoi"
  from toflib import Plugin
  import time
  
  class PluginDonnezmoi(Plugin):
      "A 'gimme a xxx' banner generator plugin"
  
      def handle_msg(self, msg_text, _chan, _nick):
          "Write a banner if input looks like a banner query"
          msg = msg_text.split(" ")
          if msg[0:2] == ['donnez', 'moi'] and msg[2] in ('un', 'une'):
              what = ' '.join(msg[3:])
              for char in what:
                  self.say(char.upper())
                  time.sleep(0.5)
  
subject: Clean plugins/donnezmoi.py