All pastes #768912 Raw Edit

Stuff

public python v1 · immutable
·published 2007-11-10 23:31 UTC
rendered paste body
        if not ret:            if len(text) > 15:                irc.error("I am only a bot, please don't think I'm intelligent :)")                return            retmsg = ''            ret = self.registryValue('notfoundmsg')            if ret.count('%') == ret.count('%s') == 1:                ret = ret % text        else:            if type(ret) != list:                queue(irc, target, retmsg + ret)            else:                queue(irc, target, retmsg + ret[0])                if msg.tagged('alert'):                    queue(irc, self.registryValue('relayChannel'), '%s called the ops in %s' % (msg.nick, msg.args[0]))                    #queue(irc, self.registryValue('relayChannel'), retmsg + ret[0])                for r in ret[1:]:                    queue(irc, target, r)