]> Pileus Git - ~andy/rhawk/commitdiff
Say global help message
authorAndy Spencer <andy753421@gmail.com>
Sat, 25 Oct 2014 05:22:32 +0000 (05:22 +0000)
committerAndy Spencer <andy753421@gmail.com>
Sat, 25 Oct 2014 05:22:32 +0000 (05:22 +0000)
rhawk
spades.awk

diff --git a/rhawk b/rhawk
index 5420d6363ab3dcf8c54ffa1da563a0d09ea4633c..1f9b0134f42e74b0e10fd7ec147a93836daa3c6b 100755 (executable)
--- a/rhawk
+++ b/rhawk
@@ -356,12 +356,6 @@ MSG !~ /^\./ &&
        say("Awk, awk, awk! I'm a bird!")
 }
 
-!(FROM in bots) &&
-((TO == NICK && /(help|halp)/) ||
- /^[^.](help|halp)/) {
-       reply("Nothing can help you now..")
-}
-
 /(\<[Hh][Oo]\>.*){3}/ {
        say("\00309Merry \00304Christmas!")
 }
index b718c10e65bd1d10a17e9f0a34e79599790711ea..a010c0f0d610fd6ff31b863996d136ce2c50a427 100644 (file)
@@ -395,6 +395,10 @@ AUTH == OWNER &&
 }
 
 # Help
+/^\.help$/ {
+       say(".help spades -- play a game of spades")
+}
+
 /^\.help [Ss]pades$/ {
        say("Spades -- play a game of spades")
        say(".help game -- setup and administer the game")