Stuff
public text v1 · immutable # 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)
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)