I am gussing it wont work because you have two on JOIN events in one script. I tried your code and it wouldn't work for me either. Try this code, it
should work.
on *:JOIN:#: {
guser 10 $nick 8
if (10 isin $level($address($nick,8))) && ($me isop $chan) {
echo -t *** $nick ison hatechan
}
}