Note that the 'kn' switch in the $input identifier was added in mIRC version 6.17, so it won't work in earlier versions.

-genius_at_work