I'd like to implement a text censor for cuss words in a text MUD i'm coding. I understand the find text concept
verb
say(msg as text)
usr << "You say, '[msg]'"
oview() << "[usr] says, '[msg]'"
if (findtext(msg, "fart"))
usr << "Hahaha you said fart."
But how do I get this to take the msg and censor out the word with *****