=====================================================================
SpeedFan.dll version 1.02
---------------------------------------------------------------------
Author  : twig*
Website : www.genscripts.net
Date    : 18th July 2007
Email   : twigboy@tpg.com.au
=====================================================================

Contents:
---------------------------------------------------------------------
1. How to use
2. Version history
3. Credits


=====================================================================
1. How to use:
---------------------------------------------------------------------
 SpeedFan.dll relies on a 3rd party application called SpeedFan in
 order to work. It can be downloaded from :
     http://www.almico.com/speedfan.php

 The DLL must be accessible from your mIRC directory for the
 following functions to work.

 speedfan.mrc is not required, but provides an example of how the dll
 can be used. To load it, type /load -rs speedfan.mrc

 Each successful call is prefixed with S_OK. If S_ERR is found, the
 remainder of the value will detail the nature of the error.

 Example     : S_ERR SpeedFan could not be detected.


 -----------
 GetCount
 -----------
 Retrieves total number of values from each type.

 Data format      : S_OK [TEMPERATURES] [FANS] [VOLTAGES]
 Example of usage : $dll(speedfan.dll, GetCount, .)

 -----------
 GetFan
 -----------
 Retrieves the speed (in rotations per minute) of a specific fan.

 Data format      : S_OK [RPM]
 Example of usage : $dll(speedfan.dll, GetFan, 1)

 -----------
 GetLabels
 -----------
 Retrieves all labels for temperatures.

 Data format      : S_OK [LABEL1],[LABEL2],[...]
 Example of usage : $dll(speedfan.dll, GetLabels, .)

 NOTE!            : Do not use this function often. Store the
                    result in a variable or hash table.

                    If anybody knows how to get the other labels,
                    please let me know.

 -----------
 GetTemperature
 -----------
 Retrieves the temperature (in Celsius) from a specific sensor.

 Data format      : S_OK [TEMPERATURE]
 Example of usage : $dll(speedfan.dll, GetTemperature, 2)

 -----------
 GetVoltage
 -----------
 Retrieves the voltage (correct to 2 decimal points) from a
 specific sensor.

 Data format      : S_OK [VOLTAGE]
 Example of usage : $dll(speedfan.dll, GetVoltage, 3)

 -----------
 Version
 -----------
 Retrieves the DLL version.

 Data format      : SpeedFan.dll v1.0.0 by twig* 2007
 Example of usage : $dll(speedfan.dll, Version, .)


2. Version updates:
---------------------------------------------------------------------
 v1.02 (18/07/2007)
 - Fixed infinite loop again. Uploaded wrong script file last release.
 - Added GetLabels to retrieve temperature labels.

 v1.01 (??/??/2007)
 -----------
 - Renamed speedfan.mrc to spdfan.mrc as mIRC will not load the
   filename SpeedFan.mrc.
 - Added the source files.
 - Changed $dllFile to return $scriptdir instead of fixed path.
 - Fixed infinite loop in script when SpeedFan not running.

 v1.00 (09/07/2007)
 -----------
 - Initial public release.


3. Credits:
---------------------------------------------------------------------
 - #genscripts crew
 - Alfredo Milani-Comparetti for creating SpeedFan
 - AdamC (author of Samurize) for providing initial guidance.
 - Julrp for helping determine what was wrong with the struct
   declaration. (http://lcdhype.de/index.php?showtopic=1692)
 - dJabba for providing a template for the readme.txt
 - hax0r for providing information on how to retrieve text
   from another application.