Hi,
Your script lacks "" in the beginning :
Code:
function HighPassSharpen(clip c, int "mode", int "radius")
I'm still quite new with scripting too, but it looks like an interesting method
Unfortunately it generates a lot of ghosting with strong settings (I tried it with a simple DV source, uncompressed)
Maybe more skilled people here will be able to make it better