Short:    Search Altavista and show results in AmIRC or CLI. (Version 1.0b)
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 :)


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 Four 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.

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. 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
----

   This was done as a quickie request for someone in under an hour, so there's
likely to be plenty of bugs. One I found that I think is fixed now was in sending
the referer info thru httpresume. Altavista would refuse to return the query after
much testing, but would load the identical url fine in a browser.

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



Seeya,
      Purple


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

Original  Packed Ratio    Date     Time    Name
-------- ------- ----- --------- --------  -------------
    3197    1286 59.7% 10-Jun-00 06:09:38  AVSearch.Amirx
    2333    1195 48.7% 10-Jun-00 06:06:24  AVSearch.readme
-------- ------- ----- --------- --------
    5530    2481 55.1% 10-Jun-100 05:45:20   2 files
