# Look up the definition of something using google
def defineq(bot, cmd, nick, conn, public):
+ #this doesn't work any more
+ bot.automsg(public,nick,"'define' is broken because google are bastards :(")
+ return
cmdrest = string.join(cmd.split()[1:])
targ = ("http://www.google.co.uk/search?q=define%%3A%s&ie=utf-8&oe=utf-8"
% urllib.quote_plus(cmdrest))
<hr />
<h3><a name="define">define</a></h3>
-<p>This command returns (either on-channel or by <span
-class="code">/msg</span>) a definition of the argument(s) of the
-"define" command. This is done by using a "define:" query on
-google, so the results may be a little unusual at times...</p>
+<p>This command no longer works, as google have broken 'define'-style
+ searches; it will return an error message if invoked.</p>
<h3><a name="die">die</a></h3>
<p>This command must be invoked by <span class="code">/msg</span> only,