Big Numbers - 17/04/03 01:59 AM
I have this script to pick a random number based on what the person says, but it can't handle big numbers.
For example, someone says ~rand 565
Then it'll pick a number from 1 to 565
However, when someone types in a huge number, such as 999999999999999999999999999999999999999999999999, it'll crash. I've seen another person with this type of script, however when someone enters in a big number it limits to 2147483647. How do they do that?
For example, someone says ~rand 565
Then it'll pick a number from 1 to 565
However, when someone types in a huge number, such as 999999999999999999999999999999999999999999999999, it'll crash. I've seen another person with this type of script, however when someone enters in a big number it limits to 2147483647. How do they do that?