#!/usr/bin/env python2
-# $Id$
+# $Id: acrobat-chiark-0.2.py,v 1.20 2002/10/06 16:04:42 matthew Exp $
#
# Joel Rosdahl <joel@rosdahl.net>
# Andrew Walkingshaw <andrew@lexical.org.uk>
# query bot status
def infoq(self, cmd, nick, conn, public):
# version control magic
- acrorevision="$Revision$"
+ acrorevision="$Revision: 1.20 $"
acrorev1=re.sub(r'\$Revision: (.*)',r'\1',acrorevision)
acroversion=re.sub(r'(.*) \$',r'\1',acrorev1)
if public == 1:
target = nick
if public == 0:
if random.random() <= 0.1:
- trout_msg+= ' (at the instigation of %s)' % nick
+ trout_msg+= ' (but %s is their secret admirer)' % nick
conn.action(self.channel, trout_msg % target)
except IndexError:
conn.notice(nick, "Who do you wish me to flirt with?")