Do you mean Op check for the bot?

Code:
 On @*:TEXT:*swearword*:#:{ 
 ban -ku10 # $nick $nick $+ , Kicked for Inappropriate content. 
   write KickLogs.txt ( $+ $date $+ - $+ $time $+ ) $nick $+ , Kicked for Inappropriate content. [Inappropriate Content. You have a 10 second ban you may rejoin after.]: $1- 
} 


Or you want to exclude ops for this script?

Code:
 On @*:TEXT:*swearword*:#:{ 
 if ( $nick isop $chan ) {
 ban -ku10 # $nick $nick $+ , Kicked for Inappropriate content. 
   write KickLogs.txt ( $+ $date $+ - $+ $time $+ ) $nick $+ , Kicked for Inappropriate content. [Inappropriate Content. You have a 10 second ban you may rejoin after.]: $1- 
 }
} 


If you have a plastic floor runner over your tiles, then you're one Hella Pinoy!