From f8e594b28d1dd05d51aaf0735565998a7012abb2 Mon Sep 17 00:00:00 2001 From: matthew Date: Wed, 6 Feb 2002 20:39:06 +0000 Subject: [PATCH] Make the telling-on-you message be on the same line --- acrobat-chiark-0.2.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/acrobat-chiark-0.2.py b/acrobat-chiark-0.2.py index 03971b0..6cb3bfd 100755 --- a/acrobat-chiark-0.2.py +++ b/acrobat-chiark-0.2.py @@ -180,10 +180,12 @@ class Acrobat(SingleServerIRCBot): # ...and touchy. if me.lower() == target.lower(): target = nick - conn.action(self.channel, trout_msg % target) if public == 0: - if random.random() <= 0.1: - conn.action(self.channel, "notes %s is conducting a whispering campaign" % nick) + if random.random() <= 0.25: + trout_msg+= ' (at the instigation of ' + trout_msg+=nick + trout_msg+= ')' + conn.action(self.channel, trout_msg % target) except IndexError: conn.notice(nick, "Who do you wish me to trout?") -- 2.30.2