We hope you enjoy your visit.

You're currently viewing our forum as a guest. This means you are limited to certain areas of the board and there are some features you can't use. If you join our community, you'll be able to access member-only sections, and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free.


Join our community!


If you're already a member please log in to your account to access all of our features:

Username:   Password:
Add Reply
  • Pages:
  • 1
  • 2
my friend; ....
Topic Started: Feb 20 2005, 07:46 PM (879 Views)
dashiznit3333
Pimp
[ *  * ]
Seth
February 23, 2005 08:12 PM
dashiznit3333
February 22, 2005 09:48 AM
o but there is, the double doesnt even let any password work, but the single lets the variable password i define work.  Trust me.

*Seth can't decide whether to laugh or cry. You're so wrong...

i know what it should do, and how it should work. But == isnt working. Idk why, just isnt. ="" however, is working, idk why, just is.
and
im just making this for fun, i really have no interest in taking your script, id rather make one myself, but thanks
Offline Profile Quote Post Goto Top
 
Seth
Member Avatar
I has a pony
[ *  *  *  *  *  *  *  *  * ]
But = "" will make ANY password work :'(
Offline Profile Quote Post Goto Top
 
Lothlómendil
Member Avatar
Spam Queen
[ *  *  *  *  *  *  * ]
If something isn't working, it's not the == part. :ermm:
Offline Profile Quote Post Goto Top
 
dashiznit3333
Pimp
[ *  * ]
i know for a fact its that, cus if i have it = "" it works, if i dont it doesnt...

Seth dont cry, i know that your right, i know what should work....
Offline Profile Quote Post Goto Top
 
Das
Member Avatar
Smells of rich mahogany
[ *  *  *  *  *  *  * ]
This will work, and it is easy
Quote:
 

<script type='text/javascript'>

Password = "password"

var check = window.prompt("What is the password");
if (Password == check)
{
alert('You have the right password')
} else {
alert('Bye');
window.location = "http://www.ask.com";
}
</script>

Red = Password
Blue = Password asking message
Purple = Correct password message
Gray = Wrong password message
Green = The website you go to if the password is wrong
Offline Profile Quote Post Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
« Previous Topic · Technology Chat · Next Topic »
Add Reply
  • Pages:
  • 1
  • 2