From c0804180b43e9f5546e2cba713759acc08e50e59 Mon Sep 17 00:00:00 2001 From: Jeremy Fincher Date: Fri, 28 Mar 2003 06:52:08 +0000 Subject: [PATCH] Added lithp command. --- plugins/FunCommands.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/plugins/FunCommands.py b/plugins/FunCommands.py index 001efcca2..edd224d16 100644 --- a/plugins/FunCommands.py +++ b/plugins/FunCommands.py @@ -55,6 +55,7 @@ Commands include: objects last lastfrom + lithp """ from baseplugin import * @@ -240,6 +241,11 @@ class FunCommands(callbacks.Privmsg): else: irc.error(msg, 'Dice must be of the form d') + def lithp(self, irc, msg, args): + "" + text = privmsgs.getArgs(args) + irc.reply(msg, text.replace('s', 'th')) + _leettrans = string.maketrans('oOaAeElBTiIts', '004433187!1+5') _leetres = ((re.compile(r'\b(?:(?:[yY][o0O][oO0uU])|u)\b'), 'j00'), (re.compile(r'fear'), 'ph33r'),