From: Andy Spencer Date: Fri, 6 Sep 2013 05:04:05 +0000 (+0000) Subject: Add bofh excuses X-Git-Url: http://pileus.org/git/?p=~andy%2Frhawk;a=commitdiff_plain;h=d7807d67ab94e078db8444662d1398468bc6bed3 Add bofh excuses --- diff --git a/rhawk b/rhawk index 713c799..a4535b9 100755 --- a/rhawk +++ b/rhawk @@ -202,6 +202,16 @@ TO == NICK && /^\.?fortune/ { next } +/\<[Bb][Oo][Ff][Hh]\>/ { + _cmd = "fortune bofh-excuses" + _cmd | getline _fortune + _cmd | getline _fortune + _cmd | getline _fortune + close(_cmd) + say(_fortune) + next +} + # Morse code BEGIN { morse["/" ] = " "