YUSS V-Man comeback (not that he went down).
Updated isint, works with 0.
Unfortunately, isint only works for floating point numbers that have less than 8 digits before the decimal place. Therefore, 9 999 999.999... is the biggest floating point number that works with isint.
I always try to use the less-than-brute-force approach. Although my script seems neat and fast, C++ probably does some brute force calculations with modulo, but it's definitely not as bad as cubescript brute-forcing that Bukz uses \:D. However, my script is completely useless in validating characters themselves, so it isn't ideal for lists and etc. Bukz' script does validate the characters themselves, and this is why "5.0" returns 0 with Bukz' script. In the purest sense, 5.0 is still floating point.
Simple script to fix gamma when alt-tabbing in and out of AC, because my gamma always messes up when I do that. I can fix it by changing the gamma to anything else, and optionally setting it back. It may not work on all gfx cards. Use /fixgamma
Updated isint, works with 0.
[SELECT ALL] Code:
isint = [result (|| (&& (!=f (divf $arg1 1) 0.0) (=f (modf $arg1 1)) 0) (=f $arg1 0) ) ]
Unfortunately, isint only works for floating point numbers that have less than 8 digits before the decimal place. Therefore, 9 999 999.999... is the biggest floating point number that works with isint.
I always try to use the less-than-brute-force approach. Although my script seems neat and fast, C++ probably does some brute force calculations with modulo, but it's definitely not as bad as cubescript brute-forcing that Bukz uses \:D. However, my script is completely useless in validating characters themselves, so it isn't ideal for lists and etc. Bukz' script does validate the characters themselves, and this is why "5.0" returns 0 with Bukz' script. In the purest sense, 5.0 is still floating point.
Simple script to fix gamma when alt-tabbing in and out of AC, because my gamma always messes up when I do that. I can fix it by changing the gamma to anything else, and optionally setting it back. It may not work on all gfx cards. Use /fixgamma
[SELECT ALL] Code:
alias fixgamma [gamma (+ $gamma 1); gamma (- $gamma 1)]