Page 1 of 1

Javascripting

Posted: Fri Jul 15, 2011 10:03 am
by Alvin1123
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.

Re: Javascripting

Posted: Sat Jul 16, 2011 2:39 pm
by social_experiment
Alvin1123 wrote:please reply
with the script..
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.

As for your returning users, have a look at cookies.
Cookies & more cookies