]> Pileus Git - ~andy/rhawk/blobdiff - rhawk
Add bofh excuses
[~andy/rhawk] / rhawk
diff --git a/rhawk b/rhawk
index 713c7995b267806f457b5a142ae3447faa0955fa..a4535b98095724882fde4e26a38af8dd02e95c1c 100755 (executable)
--- 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["/"      ] = " "