Well, @Pangaea it will work for your bot. I tried it myself. Change the first line to this
on *:TEXT:*:#: {
Then replace this line
msg $target $1-
Just change $target to the channel name you want it relayed to. Cheers :)
Edit: here's what you need.. i made the changes for you
on *:TEXT:*:#: {
var %acros = shit,fuck,slut,slapper,slag,cunt,dick,ass,arse,fuck,niger,mother fucker,wanka,wanker,fanny,fucker,
var %expand = (Censored);(Censored);(Censored);(Censored);(Censored);(Censored);(Censored);(Censored);(Censored);(Censored);(Censored);(Censored);(Censored);(Censored);(Censored);(Censored);(Censored);(Censored);
var %x = $numtok(%acros,44)
while (%x) {
var %w = $gettok(%acros,%x,44)
var %xx = $findtok($1-,%w,0,32)
while (%xx) {
tokenize 32 $reptok($1-,%w,$gettok(%expand,%x,59),%xx,32)
dec %xx
}
dec %x
}
msg #RELAY-CHANNEL $1-
halt
}