If you want the script only to work when some deop you, try this:
Code:
on !*:deop:#: if ($me == $opnick) { msg L # op | .timerDeop 1 3 ban -k $nick $wildsite Don't deop me. }
The -k in the /ban command will kick the person you are banning without having to add the /kick command.

I hope I understood you this time,
Zyzzyx.