# Quote randomizer not very random, ideas?

**URL:** <https://forum.kirupa.com/t/quote-randomizer-not-very-random-ideas/169383>\
**Category:** flash\
**Created:** [November 15, 2005, 10:37pm UTC](https://forum.kirupa.com/t/quote-randomizer-not-very-random-ideas/169383 "2005-11-15T22:37:25Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![pharmakon](https://avatars.discourse-cdn.com/v4/letter/p/f07891/32.png) [@pharmakon](https://forum.kirupa.com/u/pharmakon)\
**Post date:** [November 15, 2005, 10:37pm UTC](https://forum.kirupa.com/t/quote-randomizer-not-very-random-ideas/169383/1 "2005-11-15T22:37:25Z")

</div>

Hello, I’m using the quote randomizer from kirupa, but the same couple lines out text seems to arise far too frequently. any ideas? I was thinking that i could remove the random part of the script, and just make it go from 1-100 in order, if someone could tell me how to do that. I don’t really know actionscript at all.

current AS:

/\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
**Random Quotes Script** \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*/  
ranQuote = new LoadVars();  
ranQuote.onLoad = function(success) {  
if (success) {  
RanNum = Math.ceil(Math.random()\*110);  
ran = this[“quote”+RanNum];  
quote\_txt.text = ran;  
}  
else {  
quote\_txt.text = “The text failed to load due to an error”;  
}  
}  
ranQuote.load(“Quotes.txt”);  
stop();
