IMVU Filter - guest only code

Don Von Alpha Dom
by Don Von Alpha Dom · 27 posts
16 years ago in General
Posted 14 years ago
I hate not being able to edit -.-"
Wrong bbCode tag, here's the code I wanted to post before:

Code
<script language="javascript" type="text/javascript"> 
var Credits=document.getElementById('credits_real_value').innerHTML;
var Predits=document.getElementById('credits_promo_value').innerHTML;

if(Credits == 0 && Predits < 500) {
document.write("Enter HTML");
}
else {
document.write("Doesn't work!");
}
</script>
Posted 14 years ago
Got it. I used more things from w3schools to make a not-so-noob-as-before script :lol:

I tested my code and I think it's fully functionable, but feel free to test it for yourself and search for bugs ^^

Code
<script language="javascript" type="text/javascript"> 
var Credits=document.getElementById('credits_real_value').innerHTML;
var Predits=document.getElementById('credits_promo_value').innerHTML;
var IntPr=Predits.slice(-3);
if(parseInt(Credits) == 0 && parseInt(IntPr) < 500 && Predits.slice(0,-4) == "")
{
document.write("Enter HTML");
}
else
{
document.write("Doesn't work!");
}
</script>


Thank you, Don, I wouldn't make it without you ^^
Posted 14 years ago
DaGal, what exactly does your code do? I'm a coding idiot....to some degree. 8)
Posted 14 years ago
nice work don
Posted 14 years ago
Don Falcon wrote:
Whoa... thats a lot


YO Where are u .. are u still rich ??? hahaha


Well these codes are really nice things ... and this code dont let poor ppl come on ur page is rasistic one :twisted:

but java is damn good thing and i never had time to learn it just simple things ...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Sign in

Already have an account? Sign in here

SIGN IN NOW

Create an account

Sign up for a new account in our community. It's easy!

REGISTER A NEW ACCOUNT