You should have added on HELP, DEHELP, SERVEROP, SERVERMODE more. By the way, script does not work properly since you\'ve made a wrong formation of $server-$chan, |$nick| and ($chan)
It's a very simple script to convert badwords such as: fuck, shit asshole... to "consored". I cannot list all of the badwords so, please add it by yourself. It works only in PM.