http://forum.doom9.org/showthread.php?t=98985^the link for mt_masktools is in that thread (first post)
vmtoon and mftoon are in the masktools folder of that .zip. Only put mt_masktools-26.dll into the plugins folder (you don't want to have 2 versions of the same thing in the plugins folder at the same time)
you shouldn't be getting the same error...
comment out the lines that are giving you errors (put a # at the start of the line. ex: #mftoon(...) ) and see what happens (repeat as needed until your script works)