Made bantracker releaseable

some small fixes
Added a pony
This commit is contained in:
Dennis Kaarsemaker
2007-01-22 22:14:41 +01:00
parent 4961da067a
commit 3ca25ef2d1
9 changed files with 72 additions and 56 deletions

View File

@ -273,11 +273,13 @@ class Mess(callbacks.PluginRegexp):
irc.reply(data.replace("\r\n",' ').replace("\r",' ').replace("\n",' '))
southpark = wrap(southpark)
def pony(self, irc, msg, args):
def pony(self, irc, msg, args, text):
""" NO! """
if not self.ok(msg.args[0]): return
irc.reply("No you can't have a pony, %s!" % msg.nick)
pony = wrap(pony)
if not text:
text = 'you'
irc.reply("No %s can't have a pony, %s!" % (text, msg.nick))
pony = wrap(pony, [additional('text')])
def _bauer(self,count=0):
# if self.i % 2 == 0: