Thanks for your quick reply. Here is the code I have..
Remote Code:
-----------
on *:text:*:#:{
if ( $istok($strip($1-),penis,32) || $istok($strip($1-),ass,32) || $istok($strip($1-),[censored],32) ) { /profanity }
}
Alias Code:
----------
/profanity {
if ( $me isop #SampleChan) { ban -u1200 #SampleChan $address($nick,4) | kick #SampleChan $nick PROFANITY detected. BANNING $nick for 10 minutes. }
}