# If it's really a 'tell', msg the requester and his target elif trigger.name == '__Query_Tell': tellnick = trigger.match.group('nick') m = REPLY_ACTION_RE.match(value) if m: typ = m.group('type').lower() if typ == 'reply': replytext = m.group('value') elif typ == 'action': replytext = None else: replytext = '%s is %s' %(row['name'], value) public = False if trigger.IRCType == IRCT_PUBLIC: chans = self.Options.get_net('public_request', trigger) if chans and trigger.target.lower() in chans: public = True if replyText: if public: msgtext = "%s: %s" % (tellnick, replytext) self.sendReply(trigger, replytext, process=0) else: msgtext = "Told %s that: %s" % (tellnick, replytext) self.privmsg(trigger.wrap, trigger.userinfo.nick, msgtext) msgtext = "%s wants you to know: %s" % (trigger.userinfo.nick, replyText) self.privmsg(trigger.wrap, tellnick, msgtext)