diff options
author | Joseph Graham <joseph@fibreglass.tunachunks> | 2013-07-28 07:39:12 +0100 |
---|---|---|
committer | Joseph Graham <joseph@fibreglass.tunachunks> | 2013-07-28 07:39:12 +0100 |
commit | b9295e81708e741fc3eac9e2c693e3ac0d87e8ff (patch) | |
tree | f583799c44de5029e979d09a4f6abea45a75ce80 /hack_of_all_hacks | |
parent | d8d206e5f02eb33aec3ff197ff5591f54059681b (diff) |
Changed his name to pbot
Diffstat (limited to 'hack_of_all_hacks')
-rw-r--r-- | hack_of_all_hacks | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/hack_of_all_hacks b/hack_of_all_hacks index 55b0c61..1c87f68 100644 --- a/hack_of_all_hacks +++ b/hack_of_all_hacks @@ -72,7 +72,7 @@ function l33t_codes # If two different people say the same thing in a row then say it again # for fun. - if [[ ${stuff_said} == ${lastline} ]] && [[ ${person} != ${lastsender} ]] && [[ ${say_again} != nono ]] && [[ ${stuff_said} != 'pbot-ng: '* ]] # If two different people say the same thing to me in quick sucession I shouldn't repeat them. + if [[ ${stuff_said} == ${lastline} ]] && [[ ${person} != ${lastsender} ]] && [[ ${say_again} != nono ]] && [[ ${stuff_said} != 'pbot: '* ]] # If two different people say the same thing to me in quick sucession I shouldn't repeat them. then send_msg "${channel_it_came_from}" "${stuff_said}" i_repeated="${stuff_said}" @@ -123,9 +123,9 @@ EOF # This one depends on the previous to record the last time the person # was seen and create the `the_time_now' var. - if [[ ${line} == *"pbot-ng: when did you last see"* ]] + if [[ ${line} == *"pbot: when did you last see"* ]] then - subject="${line##*pbot-ng: when did you last see }" + subject="${line##*pbot: when did you last see }" subject="${subject%?}" subject="${subject%% *}" if [[ -f announcements/people/${subject}/seen ]] |