A bot named '''search''' inhabits various channels on our [http://irc.deoxy.org IRC server] where it participates in conversation when triggered by use of certain words. To get help or experiment type '''/msg search hi''' to open a private message with the bot. There is also a [Deoxy:searchbot web interface to searchbot].
*Search has the following automatic functions:
**'''seen''' works by recording the last thing you say or do in a channel with the bot.
**URLs for videos from deoxy or [Deoxy:vid?help=1 either host site] triggers the return of its title.
|| '''Updates'''
Search will respond to [Deoxy:chat/unreal.htm#invite /invite] on assigned channels.Fixed the calculator and language translation.Translation now supports chinese, greek, japanese, korean and russian. ||
Type '''/msg search help''' to list the functions:
||'''Calc''' || calc expression returns results from [http://google.com/help/features.html#calculator Google calculator].||
||'''CDDB''' || cddb artist-or-album returns a url to the [http://www.freedb.org/ freedb CD Database].||
||'''Define''' || define word returns a url for definition at [http://www.dict.org/bin/Dict dict.org].||
||'''Deoxy''' || deoxy keywords to [http://www.google.com/search?q=site%3Adeoxy.org search deoxy.org with Google].||
||'''Find''' || find words search deoxy using [Deoxy:find our internal engine].||
||'''Google''' || google words returns a url for a [http://www.google.com Google search].||
||'''Groups''' || groups words returns a url for a [http://groups.google.com/grphp Google newsgroup search].||
||'''IChing''' || iching returns a [Deoxy:iching/random random I Ching hexagram].||
||'''Images''' || images words returns a url for a [http://www.google.com/imghp Google image search].||
||'''IMDB''' || imdb film returns a url for the [http://www.imdb.com/ Internet Movie Database].||
||'''Invite''' || Use this IRC command to [Deoxy:chat/unreal.htm#invite /invite search] back into an assigned channel. ||
||'''ISBN''' || isbn number returns a url for the book at [http://isbndb.com/ ISBNdb].||
||'''Koan''' || koan returns a [Deoxy:koan/random random Zen koan].||
||'''Map''' || map seattle returns a [http://maps.google.com/ Google maps] URL for that location.||
||'''News''' || news words returns a url for a [http://news.google.com/nwshp Google news search].||
||'''Quake''' || quake returns the most recent [http://deoxy.org/news/view/feed/quakes USGS Earthquake Hazard]. 15 minute update.||
||'''Random''' || random returns a [Deoxy:random random link] for deoxy.org.||
||'''Sat''' || sat 350 5th avenue new york returns [http://maps.google.com/?t=k Google satellite maps] URL for that location.||
||'''Search''' || search keywords returns [http://www.google.com/search?hl=en&q=&btnI=I%27m+Feeling+Lucky Google's lucky link].||
||'''Seen''' || seen username tells you when it last saw that username.||
||'''Scholar''' || scholar words returns a url for a [http://scholar.google.com/ Google scholar search]. ||
||'''Spell''' || spell word or follow the word to spell with (sp). [http://linux.math.tifr.res.in/manuals/man/spell.html Suggests possible words].||
||'''USDebt''' || usdebt returns the [http://deoxy.org/news/view/feed/usdebt current U.S. National Debt]. Updates twice a day.||
||'''Video''' || video returns a random [Deoxy:videx deoxy video], use video words to search.
video DNA returns [http://deoxy.org/videx?q=DNA results for DNA] ||
||'''Watch''' || watch words returns video search results in the [Deoxy:watch watch] interface. ||
||'''Wayback''' || wayback http://some.url returns a [http://www.archive.org/web/web.php Wayback Machine] query for the given url.||
||'''Worldpop''' || worldpop return the [http://deoxy.org/news/view/feed/worldpop current world population projection]. 10 minute update.||
||'''X''' || x to/from language phrasetranslate phrase to (or from) language via [http://babelfish.altavista.com/ Babelfish].Languages: chinese dutch french german greek italian japanese korean portuguese russian spanish
(or the first two letters)
Examples: "x to spanish hello friend" or "x from sp hola amigo"
||
'''Clocks'''
*'''localtime''' returns the current time and date in our server's timezone ([http://en.wikipedia.org/wiki/Pacific_Time_Zone PST]).
*'''gmtime''' returns the current [http://en.wikipedia.org/wiki/Greenwich_Mean_Time Greenwich Meridian Time].
*'''unixtime''' returns the number of seconds since the [http://en.wikipedia.org/wiki/Unixtime Unix epoch].
----
It's custom code so any good suggestions are likely to be implemented.,,
[http://deoxy.org/chat/nickserv.htm Registered nicks] can send messages with:,,
[Deoxy:chat/memoserv.htm /memoserv] send dimitri your comments here
----
SearchBot consists of 1708 lines of Meme:Perl using the following 14 [Meme:Perl/CPAN CPAN] modules:
|
*[http://search.cpan.org/dist/File-Slurp/lib/File/Slurp.pm#DESCRIPTION File::Slurp]
*[http://search.cpan.org/dist/HTML-Parser/lib/HTML/Entities.pm#DESCRIPTION HTML::Entities]
*[http://search.cpan.org/~gaas/libwww-perl/lib/HTTP/Request/Common.pm#DESCRIPTION HTTP::Request::Common]
*[http://search.cpan.org/~samv/Lingua-Translate/lib/Lingua/Translate.pm#DESCRIPTION Lingua::Translate]
*[http://search.cpan.org/dist/libwww-perl/lib/LWP/UserAgent.pm#DESCRIPTION LWP::UserAgent]
*[http://search.cpan.org/~jmuhlich/Net-IRC/ Net::IRC]
*[http://search.cpan.org/~deti/Proc-Daemon/lib/Proc/Daemon.pod#DESCRIPTION Proc::Daemon]
|
*[http://search.cpan.org/dist/Storable/Storable.pm#DESCRIPTION Storable]
*[http://search.cpan.org/dist/Time-Duration/Duration.pm#DESCRIPTION Time::Duration]
*[http://search.cpan.org/dist/Unicode-String/String.pm#DESCRIPTION Unicode::String]
*[http://search.cpan.org/dist/URI/URI/Escape.pm#DESCRIPTION URI::Escape]
*[http://search.cpan.org/~mschwern/URI-Find/lib/URI/Find.pm#DESCRIPTION URI::Find]
*[http://search.cpan.org/~mschwern/URI-Find/lib/URI/Find/Schemeless.pm URI::Find::Schemeless]
*[http://search.cpan.org/~gaas/URI/URI/URL.pm URI::URL]
|
----
*'''Related'''
**[[NewsBot]]
**[[ChatterBot]]