diff options
author | bill-auger <mr.j.spam.me@gmail.com> | 2020-04-10 18:11:20 -0400 |
---|---|---|
committer | bill-auger <mr.j.spam.me@gmail.com> | 2020-04-12 19:00:58 -0400 |
commit | 928bf14af90d2a5c01d8d10659698142dd2aa594 (patch) | |
tree | 2488dda674a19c2425d51e21b1a9e4c7742e7a52 | |
parent | 5620a37e50f541d2d8509b68a6113d7cda672b9a (diff) |
supress 'hello' greeting for 'parabola-user'
-rw-r--r-- | process_event | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/process_event b/process_event index b872f58..575ebac 100644 --- a/process_event +++ b/process_event @@ -274,6 +274,7 @@ function process_event ######### [Hh]@('ello'|'i'|'ey')*([[:punct:]]) ) + [[ "${personoslashlower}" != 'parabola-user' ]] && \ [[ ! -f "announcements/people/${personoslashlower}/greeted" ]] && \ touch "announcements/people/${personoslashlower}/greeted" && \ send_msg "${channel_it_came_from}" "Hello ${person}! Is something on your mind? Feel free to comment or ask a question at any time. Be patient if no one responds immediately. That is quite normal on the IRC. Many people will read your message when they can, and perhaps reply, if you are still in the channel." |