I am trying to make a dice rolling alias but can't figure it out.
I have set up an alias "throw * dice *"
Send ("squint and throws %1 %2-sided dice...")
<The calculation part here is what I can't figure out.>
Send ("say [Dice 1] + [Dice 2], etc. = [Total]")
I assume this would involve the use of MtRandom () but am having no luck with it.
Thanks in advance for the help.
I have set up an alias "throw * dice *"
Send ("squint and throws %1 %2-sided dice...")
<The calculation part here is what I can't figure out.>
Send ("say [Dice 1] + [Dice 2], etc. = [Total]")
I assume this would involve the use of MtRandom () but am having no luck with it.
Thanks in advance for the help.