]> Pileus Git - ~andy/rhawk/commitdiff
This should be fun
authorAndy Spencer <andy753421@gmail.com>
Sat, 15 Feb 2014 20:00:13 +0000 (20:00 +0000)
committerAndy Spencer <andy753421@gmail.com>
Sat, 15 Feb 2014 20:00:13 +0000 (20:00 +0000)
rhawk

diff --git a/rhawk b/rhawk
index 48fb2fab0e7ad3368df7bc65e5970edb10bd1e53..21b6b20574c1454c04b54488147086661cddc515 100755 (executable)
--- a/rhawk
+++ b/rhawk
@@ -318,6 +318,11 @@ TO == NICK && DST ~ /^#/ {
        #say("Hello, " FROM)
 }
 
+/^\.nestroyeti/ {
+       say(sprintf("Temperature: %4.1f F Humidity: %2d%%",
+               rand()*20+65, rand()*20+40))
+}
+
 #DST != "#sfvlug" &&
 !(FROM in bots) &&
 CMD == "PRIVMSG" &&