Blocking client commands

I remember seeing the code somewhere, but i cant seem to find it anymore.

Basically its a script that will ban or kick a client for running a certain console command

http://www.facepunch.com/showpost.php?p=20041243&postcount=23