Project Dolphin Stats v1.1 by nix2k

My newest addition to mIRCScripts.org. This time, for retrieving Project Dolphin user stats.
Project Dolphin is basically a project dedicated to counting all keypresses by a user, and allowing them to send those stats to a 
public server. It is something of a competition really. For more information (it is beyond the scope of this document), visit
www.project-dolphin.nl

v1.1
-Support added for user IDs. Added some $ord stuff. 
v1.0
-First release. If people request it, I will add support for user IDs as well as nicknames. The dialog does not use dbu as an option,
however, I tested it on resolutions from 640x480 to 1152x864. Most people shouldn't have any problems with it. 

---------------------------
Installation
---------------------------
To install, unzip into your mIRC directory. It does not necessarily need its own directory, however, I will c:\mIRC\pdstat\ for example
purposes.

When unzipped, open mIRC, and type 
/load -rs c:\mIRC\pdstat\pdstat.mrc

The script is now loaded. You should see new menu options on the Main Menubar, the Channel menu, and the Status Menu. It is called
"Project Dolphin Stats"

---------------------------
Usage
---------------------------
To use the dialog, simply click on the menu item described in the Installation section. It will open a dialog, which will be pretty
much empty. Type a nickname in the edit box, and click Get Stats. It will make a socket connection to dolphin.twistification.net, over port
80 (in case you have a firewall triggering alerts, this is why). When complete, it should display the stats on the dialog. If you click
on the team ID link, it will bring you to the appropriate page at project-dolphin.nl (e.g., http://www.project-dolphin.nl/team.php?tid=1).

If the box displays "Error, enter a valid nick", it most likely could not find the user you specified. It may be another error (such as
a socket error). Just enter a different nickname (or a correctly spelled nickname), and try again. If further problems occur, send a bug
report/try again later. 

Included is a command line version of this addon. It doesnt allow for any customization (however, scripters will be able to figure this out,
if they want to), and only /echo's the result. It does not display an error if it couldn't find a nickname. In fact, it just displays the
echo, with no information in the brackets. But it works the same way as the dialog, and won't cause any problems if used correctly.

To use the command line version, simply type this in any window:
/pd.stat <nickname>

It will take a second to download the file and parse it. After which it will display a simple line in your active window.

All files downloaded for parsing (it uses the same socket and file for either dialog or command line) are saved in 
x:\mIRCdirectory\download\pd.txt (where x:\mIRCdirectory is the drive and mIRC directory the script is loaded in). It downloads the file,
parses it, and deletes it immediately.

---------------------------
Comments/Questions/Bugs
---------------------------

Any bugs, comments, or questions should be sent to nix2k.

I can be reached at either nick@mircscripts.org or nick@emergeonline.org
You can also send me a private message on mircscripts.org, my username is nix2k

Thanks :)