# google.tcl v0.2.1 # # !google keywords - displays the first related website found from google in the channel # !image keywords - displays the first related image found on google in the channel # !file keywords - displays the first mirror download link found on filemirrors in the channel # # by aNa|0Gue - analogue@glop.org - http://www.glop.org/ # # 04/17/2002 v0.2.1 useragent fix by FAN package require http bind pub - !google pub:google bind pub - !image pub:image bind pub - !file pub:file set agent "Mozilla" proc pub:google { nick uhost handle channel arg } { global agent if {[llength $arg]==0} { putserv "PRIVMSG $channel :hey ! tappes des mots boulet !" } else { set query "http://www.google.fr/search?btnI=&q=" for { set index 0 } { $index<[llength $arg] } { incr index } {