if the deop kick isnt working
try setting the factors to variables
i.e.
on *:deop:#:{
set %nick $nick
set %chan $chan
if (($opnick == $me) && ($nick != $me)) {
part $chan
join %chan
kick %chan %nick
}
}


The Kodokan will move you, one way or another.