Code:
on [color:red]![/color]*:deop:#: {
if ($opnick != $nick) [color:blue]&&[/color] ($chan != #channel) {
 msg L op # 
 .timer 1 2 mode # -o+b $nick $address($nick,2) 
 kick # $nick
 }
}
The red ! indicates that the script should not be performed if you triggered it, so that will keep you from kicking yourself. I didn't quite understand your last post, about the timer issue, but you can increase the timer if L takes longer to op you.

Hope this can help,
Zyzzyx.