Kirika's IRC Guides
== == == == ==
Checking or showing CRC and MD5 on mIRC

CRC and MD5 are checksums for files; they are used to verify whether the file is what it should be (heh). If the CRC or MD5 of your file matches with the CRC or MD5 of the original file, then you know that the file is not corrupted/incomplete. CRC is less reliable than MD5, though.

First, press alt-p.

New: (09/01/03) I think in mIRC 6.1 alt-p won't work anymore, try alt-r and click on "popups" instead of alt-p if it doesn't work.

Then, click on "View" (next to File and Edit) and select "Channel" if it is not already selected. You can also select "Query" if you think you will be doing this inside a PM.

Now, in the new bigggggg white text box, go to the first line, and press enter, (making a new line)

Or, if you are a little more experienced with scripts, find the place you want to put this button on, and make a new line there.

Now, put this in the new line:

CRC + MD5
.Check CRC + MD5 Echo {
var %f = $sfile($mircdir,Checksum,Checksum)
if $isfile(%f) {
echo $active $char(U+007) Checksums of $nopath(%f) ( $+ $iif($size($file($mircexe).size) != $null,$size($file(%f).size),$file(%f).size $+ b) $+ ): CRC: $crc(%f) MD5: $md5(%f,2)
}
}
.Check CRC + MD5 Say {
var %f = $sfile($mircdir,Checksum,Checksum)
if $isfile(%f) {
say $char(U+007) Checksums of $nopath(%f) ( $+ $iif($size($file($mircexe).size) != $null,$size($file(%f).size),$file(%f).size $+ b) $+ ): CRC: $crc(%f) MD5: $md5(%f,2)
}
}

To use this, right click a channel, (or inside a pm window if you chose "query at the beginning) and click on Either the "CRC + MD5 Echo" or "Say" buttons. Echo will show the information to yourself, whereas Say will show make you say the information to the channel or PM, depending on where this script is located. It will then prompt you for a file. Select the file you want to check or show the CRC and MD5 of, and it will show the info in the channel / PM.

Larger files usually take longer to check, and sometimes it might freeze your mIRC for a while, possibly over a minute.

Tip of the day:
Nick alert in mIRC: Go to options -> IRC -> Highlight. You can add words that will activate a sound/flash the window/highlight the message when someone says them. If it doesn't work as well as you feel it should, try looking into nick alert scripts. Valid HTML 4.01! Valid CSS!
Anime-Kraze Fansubs Baka-Updates Animesoft Get Firefox Link to your site
All content on this site is written by Kirika. Please link to this site if you use any of its content.