SDFind v3.41 by SDSailor
For mIRC 5.31 and above.
I HIGHLY recomend mIRC 5.51 or 5.31. mIRC 5.4x and 5.5 seems to have a memory leak, this seems to be especially bad under NT.

Now available at: http://members.home.net/sdsailor/ OR http://www.team-nexgen.com/main/scripts.htm

Features:
Unlimited drives/directories searched.
Que send requests.
User selects max number of files in the que per nick.
See and control the que.
User selects max number of files found.
Find results are cut/paste ready for requesting.
Eliminates need for wildcards (*,?) in search string.
User can turn it on or off easily.
Reacts to "target change too fast" error.
User can control "excess flood".
Fast @find, even on CDs or network drives.
User can see or hide find results.
User can change the colors easily.

Installation:
If you are upgrading from a previous version of SDFind, Most of your settings will be saved from the old version!
Connect to IRC and join your favorite channel.
Unzip SDFind.ini, SDMenu.ini, SDalias.ini and SDalias2.ini files into your mIRC directory.
In any mIRC window type: /load -rs SDFind.ini
Click on the YES button when asked if you should run the installation commands.
Some of the following steps are skipped if you are upgrading.
First you will be asked if you want your list sorted by directory of filename, type d or f and click on ok.
Next select the first directory you want @find to search.
If you have more directories, type y and click on ok when asked if you have more directories.
SDFind searches all subdirectories of a directory selected, no need to select them all individually.
When you are done selecting directories, type n and click on ok when asked if you have more directories.
CAUTION: ALL files in the selected directories AND their subdirectories can be requested.
Then you will be asked if you want to advertise to all channels, type y or n and press ok.
If you select n and are on several channels, you will need to chose which of them will be your MAIN channel.
Then you will be asked how often to display the channel ads, just press ok unless you REALLY want to slow them to less than every 5 min.
Watch the Status window, when the blue messages say your list is done, SDFind is fully installed and you can turn on the features you want to use.
Now there are a couple of settings in mIRC that you will need to check.
Click on "DCC" at the top of mIRC, then options, then the options tab.  Check the On completion... close window... send box.  Otherwise SDFind will think that compleated sends are still active.
Press Alt-e then click on the local info tab.  Make sure the Local Host check box is checked, if not cgecke it and reconnect to IRC server.

Control:
SDFind installs a popup that is accessed by clicking on the word "Commands" at the top of mIRC.
Click on Commands, then there are two ways to control SDFind:
1) Using the "Window Controls" which brings up a window that lets you see all your setting and contol them easily.  This now works in all mIRCs version 5.31 and above.
2) Using the menu below. This works in all versions of mIRC.
SDFind: (makes you respond to @find from others, letting others know what you have to share)
   Find ON: Turns on SDFind.
   Find OFF: Turns off SDFind.
   Show Finds: Allows you to see the results you are sending out (default).
   Hide Finds: Hides the results from you, results are still sent to the requester.
   Max Files: Prompts you for Maximum filenames sent out (default 20).
SDSend: (controls the sending of requests from others)
   Send ON: Turns on SDSend.
   Send OFF: Turns off SDSend and asks if you want to continue sending from the que.
   Show Stats: Shows all of your DCC sends and gets and most of the info in channel ads to the status window.
   Show Top-10: Shows all of the Top-10 database in a window.
   Close DCC Sends: Turns off SDSend and closes all sends, adding a request back into your que for evey send you canceled.
   Show Que: Opens a window showing the requests in your que.  Select a line and right click to move the entry around in the que, or send immediatly.
   Set Slots: Sets how many sends you will allow at one time.
   Set Que Max: Sets how many requests each nick can have in the que.
   Set Low CPS: Sets how slow you will allow sends to get before you cancel.
   Make List: Makes a list of ALL files in the directories you seleced.  You can select between sorted by Filename, or by Directory. CAUTION, mirc will be sluggish while the list is being made.
   Set Main Channel: Set the channel you will advertise to and how often. You can select any one channel or all channels you are on. Requests are accepted from any channel you are on.
SDRequest: (makes it easy for you to request files offered by others)
   Requester ON: Opens two windows that watch what is being offered and what you have requested.  Right click to see your options.
   Requester OFF: Stops adding lines to the requester window.
SDPlay: (offers your files to the channel(s))
   Random Play ON: Offers a random file to the Main Channel, DOES NOT play the file on your computer.
   Random Play OFF: Stops Random Play
   Play Loud: Plays your random plays to the MP3 Player "associated" to .mp3 in windows.
   Play Silent: Only offers to the channel, does not play to your speakers.
   Single File Play: Allows you to play a file of your chosing.
SDOptions: (only available from the menu, not the graphical controls)
   Change Type of List: Used to select what way you want your list sorted, by directory or by filename (default filename).
   Change Dirs: Select this to add or delete dirs that SDFind looks in.
   Change Colors: Allows you to select from one of the preset color combinations.  If you want another combindation, click on tools, then remotes, then on the variables tab... change the values of %SDcolor and %SDcolorh
   Change Buffer Time: This setting controls flood tolerance, default is 4000, if you find yourseld flooding off regularly, increase to 4500 or 5000.  If you never flood, you can reduce to 3000 or 2500.
   Reset Top 10: This removes all data about sent mpx files, including the total count.
   Uninstall SDFind: Deletes SDFind from your MIRC, when asked if you are SURE, you must type YES.  

New in 3.41
Fixed CTCP bug.
Added "que" to SDDownload.
SDDownload window is now sorted.
SDStats are now colored.

New in 3.4
Added Download manager.
Improved list performance.
Improved performance of SDRequest.
Changed format of Top-10 reply so it shows in SDRequest window.
When SDRequest is on, CTCP MP3, MP2 and SOUND are hidden.
Fixed change dir bug.
Made it easier to select "Single File Play" files.
Added find to single file play so you can search your own files.
Added slots/que info to @find responses.
Added VQF support.
Show stats now show in a window instead of status window.

New in 3.3
Fixed bug that caused list not to send in mirc 5.5.
Fixed bug in list by directory.
Now counts how many times your list is sent.
Fixed bug in SDRequest that showed extra lines.
Fixed | in nick bug.
Fixed Window controls so they work in mIRC 5.41.
SDRequest now picks up files offered with the @mp3 format.
Menu now shows the status of most of the options.
Added "time in que", you can see how long any request has been in the que and it is shown in que requests and at the time of send.
For those of you that wanted the request window sorted, the "find" subwindow is now sorted.
Added "see my own Top-10"

New in 3.21
Added "Show Stats" to allow you to see your own DCC stats.
Minor adjustment that doesn't count sends of your list when trying to send other files, and limits sends of your list to 2 over the number of slots.


New in 3.2
Fixed bug when closing Que window.
No longer need to specify winamp location, when you choose "Loud Play" option the "associated program" from windows will be run.
Added @nick-help it sends a summary of commands that SDFind responds to.
Added Top 10 tracking, automatically counts how many times each MPx file completes sending.

New in 3.12
Really fixed the lists, both by directory and by filename use the "update" mode now for faster list generation.

New in 3.11
Fix bug if winamp.exe is not on c:
Fix bug if file has double space in filename

New in 3.1
Fixed list to speed it up, basically updates instead of making new list every time.
Fixed bug in @find for mIRC 5.41 users
Now accepts requests in color.
Random play now plays the actual song length, no need to set a play time.
Now other MP3 players are more likely to work with "loud" play

New in 3.0
Added Version reply
@SDrequest now recognises @find responses from other SDFind users, and from requests made by others.  Each "source" is color coded.
Enter in @SDrequest requests the selected file
Added a find to @SDRequest, to find files from what have been offered.
@SDrequest is no longer sorted, the most recent offerings are at the top of the list.
Can now change the directories SDFind searches (/SDSetdirs)
Can now change the time between channel ads (set main channel)
Added popups in the nicklist for list and que
Added an option to continue sending from que when you turn of SDSend, thus not accepting any more requests.
Added single file que remove.  "@nick-remove" removes all ques for that nick, "@nick-remove filename" removes just that file.
Redesigned the channel ad to help reduce scroll and flood
List now can be sorted by filename, or by directory.
@find now searchs from your list instead of from the drives, making it MUCH faster on CDs and network drives
More complete MP3 quality info, including play time. Thanks to Spinoc and SPR Jukebox.
@nick-que now responds with que info AND the same information as channel ads
Can now select a MP3 player.  I recomend that you use Silent play option if you select any player except WinAmp.
Added a uninstall option.
