]> git.donarmstrong.com Git - infobot.git/commitdiff
Google.pl: Set some Local Variables: for emacs users, according to already set vim...
authorsimonraven <simonraven@c11ca15a-4712-0410-83d8-924469b57eb5>
Fri, 20 Mar 2009 21:10:31 +0000 (21:10 +0000)
committersimonraven <simonraven@c11ca15a-4712-0410-83d8-924469b57eb5>
Fri, 20 Mar 2009 21:10:31 +0000 (21:10 +0000)
Add short usage doc at the top.
infobot.help: Added google: usage documentation.

git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk@1866 c11ca15a-4712-0410-83d8-924469b57eb5

files/infobot.help
src/Modules/Google.pl

index 59b4bd880802c0ef3f414ed55afe2203c4048bf1..0d37789738fa8cea308f789587eb5c148ca29003 100644 (file)
@@ -1,5 +1,6 @@
-# Revised: 20071016
+# Revised: 20090320
 #  Author: Tim Riker <Tim@Rikers.org>
+#  Contributors: Simon C., Tim M., others (see AUTHORS)
 ###
 
 # Special entry
@@ -205,6 +206,11 @@ freshmeat: D: Frontend to www.freshmeat.net
 freshmeat: U: ## <query>
 freshmeat: E: ## infobot
 
+google: D: What Is: Google Search frontend
+google: D: Configuration: "chanset [_default or channelname] +Google"
+google: U: ## google <query>
+google: E: ## google infobot
+
 hex: D: Convert ascii to hex
 hex: U: ## <string>
 hex: E: ## carrot
index 41187a6d33a5a59ddb6bc0089ef1765f24fbf944..dd585cc48b16cbe769dc156fad9739164b3a22c6 100644 (file)
@@ -2,7 +2,11 @@
 # was deprecated and requires a key that google no longer provides. 
 # This new module uses REST::Google::Search 
 # Modified by db <db@cave.za.net> 12-01-2008. 
+#
+# Usage: 'chanset _default +Google' in query window with your bot
+#        to enable it in all channels
+#        /msg botnick google <query> OR <addressCharacter>google <query> to use
+
 package Google;
 
 use strict;
@@ -67,3 +71,9 @@ sub GoogleSearch {
 1;
  
 # vim:ts=4:sw=4:expandtab:tw=80 
+# Local Variables:
+# mode: cperl
+# tab-width: 4
+# fill-column: 80
+# indent-tabs-mode: nil
+# End: