ok so i'm making a virtual world but I need to filter swear words but say someone swears on their profile
can they not make a javascript to say that they swore
please reply
with the script..
i know this might not make sense but i've done the best i can
also aswell I want a script when someone logs in saying "welcome back" in javascript or any other scripting laugage.
Javascripting
Moderator: General Moderators
- social_experiment
- DevNet Master
- Posts: 2793
- Joined: Sun Feb 15, 2009 11:08 am
- Location: .za
Re: Javascripting
It's better to work on something yourself then post back for assistance. You will need a list of bad words to check against and if those words are found notify the user. My javascript knowledge isn't that advanced but you are probably looking at an array containing those words. Use google as well, and / or browse the forum for more information. Chances are someone else has posted a similar question. Tip: Learn to code, it's more beneficial than just copying.Alvin1123 wrote:please reply
with the script..
As for your returning users, have a look at cookies.
Cookies & more cookies
“Don’t worry if it doesn’t work right. If everything did, you’d be out of a job.” - Mosher’s Law of Software Engineering