I used it and it works fine. But I added this:
if (%dice > 10) { msg # Too many dice to roll! halt }
Helps to prevents users from using extremely large numbers to flood the channel with. Just an idea...