code: def ctcp(self, target, message, nowait=False):
          
          if target and message:
              messages = utils.split_message(message, self.config.max_length)
              f = None
              for message in messages:
                  f = self.send_line('PRIVMSG %s :\x01%s\x01' % (target,
                                                                 message),
                                     nowait=nowait)
              return f
docs: send a ctcp to target