I don't know if anyone needs this, but I believe we concluded that the number of dice faces could only go up to 100 (if you altered the code from the original 30 to 100). However, I think I just made mine able to go higher. Here's how:
In dice_process_data change this:
Code:
preg_match_all("/\[dice=([1-5])\]([0-9]?[0-9])\[\/dice\]/",$post['message'],$diceresult);
to this:
Code:
preg_match_all("/\[dice=([1-5])\]([0-9]?[0-9]?[0-9])\[\/dice\]/",$post['message'],$diceresult);
and then change this line further down to however fany faces you want (where my 999 is):
Code:
if ($faces[$i] >= 2 && $faces[$i] <= 999)
Again, provided you have images up to whatever maximum number you choose.
It seems to work on my board. Does that seem like correct code?