It should be:
on *:TEXT:*shit*:#: { /kick # $nick you have been kicked by $me : profanity not allowed! }
Etc. etc...