Zander is right, what I really want is a formula for calculating the % frequency for the dice. Sorry if that wasn't clear. I can see a lot of you tried to help me, but sadly, it's not the help I need
(heh, and I certainly don't need a dice roller. A simple $rand() function in mIRC is fine. I currently have over 800 lines of scripts for D&D related actions, so as far as rolling the dice goes, I'm fine).
I've managed to notice a lot of the facts that Zander and Drawmack have noticed too. It's fairly easy to work out the first and last value of any roll, as it is always 1/sample space. The 'middle value' is always the highest (where the middle value is sn-n where s=sides on the dice and n=number of dice rolled. I originally was only working with sets of dice with the same amount of sides (eg. 8d6), but if the formula could work for mixing dice types, that would be great too). Drawmack, I'm going to have to disagree with the part about the parabola. I've plotted some graphs, and they seem to be more bell curve shaped, rather than parabolic. Though, I have not proved this yet, so for all I really know, you could be right.
That dice program sounds interesting, Fenlock, though I haven't had a chance to run it yet, so I don't know if it is what I want. It appears to also be uncompiled, which would be perfect if I wanted to extract the formula from it.

I've managed to notice a lot of the facts that Zander and Drawmack have noticed too. It's fairly easy to work out the first and last value of any roll, as it is always 1/sample space. The 'middle value' is always the highest (where the middle value is sn-n where s=sides on the dice and n=number of dice rolled. I originally was only working with sets of dice with the same amount of sides (eg. 8d6), but if the formula could work for mixing dice types, that would be great too). Drawmack, I'm going to have to disagree with the part about the parabola. I've plotted some graphs, and they seem to be more bell curve shaped, rather than parabolic. Though, I have not proved this yet, so for all I really know, you could be right.
That dice program sounds interesting, Fenlock, though I haven't had a chance to run it yet, so I don't know if it is what I want. It appears to also be uncompiled, which would be perfect if I wanted to extract the formula from it.