Most of the users on hawkee come to get their codes, and a fully functional code is what they want. And if they type it in status or whatever, they might want a echo or a inform window to tell them what they did wrong.. You\'re code is mainly meant for advanced users, and without looking at the code itself you dont know that you cant type it in a non-channel (Which is obvious for us advanced users though).
And secondly, you might wanna add stuff like:
If ($2 isban $active) echo -a $2 is already banned in $active $+ .
if (!$2) echo -a Error - No nickname was input.
if ($active !ischan) echo -a You are currently not typing in a channel! Please retry.
Thats what I would use though. But to be able to use the \"isban\" i belive you need to have a updated banlist etc, which may cause more work on the script etc.