As I understand to convert in Masktools 2.0 the script will be:
Code:
# Toon v0.82
#
# changelog: fixed global darkening issue
# req: MaskTools20, aWarpSharp
function Toon(clip input) {
input.mt_expand().mt_inpand()
Subtract(last, input)
Overlay(last, aWarpsharp(depth=32), mode="darken")
lines = last
mt_expand()
Levels(130,1,140,0,255,false)
Overlay(BlankClip(last, color=$808080), lines, mask=last)
Greyscale()
Subtract(input, last)
}