Can someone make an anti-swearing script for narrates on DS?
My son started to watch me play. He is 5 years old and can read.
I know some of the trollocs/fades cannot spell swear words properly, so that might be a problem.
I would love it if the words would show up as ****.
Let me know if someone can help.
Thanks!
Orino/Mike
anti-swearing script for cmud
Re: anti-swearing script for cmud
Here you go:
Just replace the words in the swearwords variable with the words you want to censor. It will account for the different actions so you don't have to put in "jump, jumped, jumps, jumping" just "jump" will suffice.
It just replaces each word with 4 asterisks. You can change that to whatever you like.
Perdue
Code: Select all
#Class SwearFilter
#var swearwords {word1|word2|word3}
#ONINPUT {\b(?:@swearwords)(?:ed|ing|s)?\b} {#SUB {****}} "" {regex}
#Class 0
It just replaces each word with 4 asterisks. You can change that to whatever you like.
Perdue
-
- Posts: 160
- Joined: Thu Feb 19, 2015 3:54 pm
- Location: White Tower Libraries or Deepest Wiltshire, UK
Re: anti-swearing script for cmud
Trouble is anyone reading this is just going to be tempted to get creative when sending obsenitives @ U.
Which, of course, according to the sort of behaviour that House Guest rules imply, they ought to be anyhow! E.g.: "You were as much use in that last fight as a dried mud face-pack on the back-side of a Goat-horned Trolloc!"
Which, of course, according to the sort of behaviour that House Guest rules imply, they ought to be anyhow! E.g.: "You were as much use in that last fight as a dried mud face-pack on the back-side of a Goat-horned Trolloc!"