on *:NICK: {
if (($me isop #myroom) && ($newnick ison #myroom) && (*dick* iswm $newnick)) {
mode #myroom -o+b $newnick *dick*!*@*
}
}
My question is, if course, why not just ban *dick*!*@* permenantly?
This code will deop the *dick* and make a ban at *dick* , but if the *dick* is not oper why you must deop him/her ? , thats the way that i added the
if ($newnick isop $chan) { mode $chan -o $newnick } , it check's first for if the user is an operator and if is deop him if not did not then just make the ban only.