Short:    Search Altavista and show results in AmIRC or CLI. (Version 1.1)
Author:   purplet@dingoblue.net.au (Purple)
Uploader: purplet@dingoblue.net.au (Purple)
Type:     comm/irc
Requires: HTTPResume.lha (comm/tcp)

   Yet another script for AmIRC :) But a handy one! Allows AltaVista to be
searched and the results displayed in the current AmIRC window OR in a CLI. 
I have no idea if this kinda script has been done before... but here's my 
version anyway if it has :)

   MANY THANKS fly to SnorsleX for his neato HTML Stripping function. Removes
those annoying <B> etc html tags and replaces them with Amirc Boldface instead :)

Thanks SnorsleX! :)


Installation & Configuration
----------------------------

1.  Open AVSearch in your text editor and edit any neccesary lines to point to 
    where your HttpResume executable resides. Change the AVSTempFile location 
    if you like.

2.  Edit the two Info Fields to show however much info from AltaVista you would
    like to be displayed in AmIRC. The fields are pretty self explanitory. Just 
    change them to "Y" or "N" and see what search result info they show in AmIRC.
    By default, all fields are off ("N"), but the result URLs will always show in
    AmIRC.

    (V1.1 Update: Altavista recently changed their page results, so Last Modified,
    and file size results are no longer supported in this version.)

3.  Change the Hits Field to the number of results you want to be shown. Range is
    between 1 to 10 hits. Anything outside this range will not be allowed.

4.  Copy the edited script to Amirc:Rexx

5.  Make an alias in AmIRC:  /alias /AV /RX AVSearch %p

    If you also want to use it in the CLI, add this line to your startup-sequence 
    AFTER the AmIRC path assign:  Alias AVS "RX AmIRC:Rexx/AVSearch.Amirx"


Usage
-----

Amirc: /AV <Search Keywords>
Shell: AVS <Search Keywords>

Search results return in approximately the same time it takes to retrieve the 
same search results in a regular browser, minus the time to load pics of course.
Some searches may take longer due to the search keywords used and the number of 
web pages altavista finds ;-)

   Once the results are downloaded, they will be displayed in the AmIRC window.
If no results were found, AVSearch will notify you of this.

Bugs
----

As of Version 1.1 there are currently no known bugs, apart from the script not 
timing out if it has trouble communicate with altavista's Query. I might add this
later... I really can't be bothered at the moment ;-)

   Please EMail me if you find any bugs. Suggestions very welcome ;-)

Seeya,
      Purple


============================= Archive contents =============================

Original  Packed Ratio    Date     Time    Name
-------- ------- ----- --------- --------  -------------
    3635    1600 55.9% 02-Aug-00 04:51:16  AVSearch.amirx
    2605    1343 48.4% 02-Aug-00 04:29:16  AVSearch.readme
-------- ------- ----- --------- --------
    6240    2943 52.8% 03-Aug-100 11:46:08   2 files
