View Single Post
Old 03-19-2002, 05:00 PM  
Tag
So Fucking Banned
 
Join Date: Jan 2002
Posts: 107
can u slove this?????

got sent it by a friend who says he can do it..


<SCRIPT language="JavaScript">
<!-- Key-code script by Bart Jellema
// You may use this script freely as long
// as you credit me for it...
var usermulcode=1 // code init
var code=0 // the entered code
var mul=1 // the multiplied digits
var digit=0 // number of digits entered so far
var fails=0 // number of tries done

function Enter_code(number)
{

code=code*10+number // Add the digit to the code
mul=mul*number // Update mul-value
document.codepad.thecode.value=code // Show code
digit++ // Increase digit

if (digit==3) // 3 digits entered
{
if (mul==35)
// This is to validate the code. If
// the code is 1234 the mul = 1*2*3*4 = 24
// If your code is 9562 it will be
// usermulcode = 540 (9*5*6*2)
{
window.open("switch.pl/"+code+".shtml",'_top')
fails++
code=0 // Reset values
mul=1
digit=0
}
else
{
fails++ // Increase fails
code=0 // Reset values
mul=1
digit=0
if (fails<6)
{
if (fails<5)
{document.codepad.thecode.value="Try again"}
if (fails==5)
{document.codepad.thecode.value="Last time"}
}
else // To many tries = worp back
{
location="http://www.exit.com"
document.codepad.thecode.value="Bye!"
}
}
}
}

function keycodepad(mulcode)
{
usermulcode=mulcode
document.write("<form name=\"codepad\">");
document.write("<input type=\"button\" value=\" 1 \" onClick=\"Enter_code(1)\">");
document.write("<input type=\"button\" value=\" 2 \" onClick=\"Enter_code(2)\">");
document.write("<input type=\"button\" value=\" 3 \" onClick=\"Enter_code(3)\"><br>");
document.write("<input type=\"button\" value=\" 4 \" onClick=\"Enter_code(4)\">");
document.write("<input type=\"button\" value=\" 5 \" onClick=\"Enter_code(5)\">");
document.write("<input type=\"button\" value=\" 6 \" onClick=\"Enter_code(6)\"><br>");
document.write("<input type=\"button\" value=\" 7 \" onClick=\"Enter_code(7)\">");
document.write("<input type=\"button\" value=\" 8 \" onClick=\"Enter_code(8)\">");
document.write("<input type=\"button\" value=\" 9 \" onClick=\"Enter_code(9)\"><br>");
document.write("<input type=\"text\" name=\"thecode\" size=10 value=\"\"><br>");
document.write("</form>");
}
// Key-code script by Bart Jellema -->
</SCRIPT>


you have to find a key code???
i cant figure it out
Tag is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote