<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE muclient>
<!-- Saved on Saturday, August 19, 2006, 2:50 PM -->
<!-- MuClient version 3.78 -->

<!-- Plugin "Installer_sumcheck" generated by Plugin Wizard -->

<muclient>
<plugin
   name="Installer_sumcheck"
   author="Nick Gammon"
   id="4a267cd69ba59b5ecefe42d8"
   language="Lua"
   purpose="Sumchecks the MUSHclient installer"
   date_written="2006-08-19 14:48:45"
   requires="3.74"
   version="1.0"
   >

<description trim="y">
* Type 'md5sum' to activate. 

* Navigate to the mushclientXXX.exe file you downloaded.
(The XXX will be the version number).

* Click 'Open'. 

The resulting message (in the output window) will show you the sumcheck.

This should agree with the sumcheck shown on the web page announcing the MUSHclient version.
</description>

</plugin>


<!--  Aliases  -->

<aliases>
  <alias
   match="md5sum"
   enabled="y"
   send_to="12"
   sequence="100"
  >
  <send>name = utils.filepicker ("Choose file", "mushclient*.exe", "exe", 
                        { exe = "MUSHclient installers" } )

if name then
  f = io.open (name, "rb")
  if f then
    print ("sumcheck of", name, "=", string.lower (utils.tohex (utils.md5 (f:read ("*a")))))
    f:close () 
  end -- if opened file ok
end -- if have name
</send>
  </alias>
</aliases>

<script>
ColourNote ("cyan", "", "Type 'md5sum' to sumcheck a file.")
</script>

</muclient>
