]> git.netwichtig.de Git - user/henk/code/ruby/rbot.git/blobdiff - data/rbot/plugins/deepthoughts.rb
lart plugin: replace "me" with sourcenick
[user/henk/code/ruby/rbot.git] / data / rbot / plugins / deepthoughts.rb
old mode 100755 (executable)
new mode 100644 (file)
index 510b8c3..87ccab2
@@ -81,15 +81,9 @@ class DeepThoughts < Plugin
     end\r
     \r
     def deepthought(m, params)\r
-        thought = THOUGHTS[rand(THOUGHTS.length)]\r
-        m.reply thought\r
+        m.reply THOUGHTS.pick_one\r
     end\r
 end\r
 \r
 plugin = DeepThoughts.new\r
 plugin.map 'deepthought'\r
-#plugin.map 'movieplot', :action => 'do_movieplot'\r
-#plugin.map 'movietitle', :action => 'do_movietitle'\r
-\r
-\r
-\r