Javascripting

JavaScript and client side scripting.

Moderator: General Moderators

Post Reply
Alvin1123
Forum Newbie
Posts: 10
Joined: Thu Jul 14, 2011 11:40 am

Javascripting

Post 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.
User avatar
social_experiment
DevNet Master
Posts: 2793
Joined: Sun Feb 15, 2009 11:08 am
Location: .za

Re: Javascripting

Post 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
“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
Post Reply