<?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"
   >

</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, "=", utils.tohex (utils.md5 (f:read ("*a"))))
    f:close () 
  end -- if opened file ok
end -- if have name
</send>
  </alias>
</aliases>

</muclient>
