Censor

By Acclamator on Nov 17, 2008

This script can help you if you happen to be in a room that has absolutely no swearing allowed, it will replace swearwords with ****.
usage: /censor activates/deactivates it.

alias censor { if ($group(#censor) == off) { .enable #censor | echo -a Censor activated. }
  else { .disable #censor | echo -a Censor deactivated. }
}
#censor off
on *:INPUT:*:{ if ($left($1,1) == /) && (!$ctrlenter) { return }
else /haltdef | //say $regsubex($1-,/fuck(?:in)?|shit|bitch|ass|piss|damnit/gi,****)) }
#censor end

Comments

Sign in to comment.
napalm`   -  Nov 19, 2008

Repents from his sins for he has seen the light

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.