![]() |
Type in a command, or "ls dictionary" to search all commands for "dictionary", etc.
|
NAME rolladv - icreases the versitility of the 'roll' command SYNOPSIS rolladv -name=test [NAME] -sets=1 [SETS] -dice=1d20 [NUMBER AND TYPE] EXAMPLES rolladv (with no further parameters) -returns the roll with all default values (rolls 1d20 1 time, and returns the die rolls for the test user) rolladv -name yub -returns the roll with the name "yub" rolladv -dice 3d6 -returns a total of the roll of three six-sided dice rolladv -sets 3 -returns 3 separate sets of rolls of the type specified in the -dice parameter (e.g: -sets 3 -dice 1d6 would return three separate totals on one page) DESCRIPTION This command utilizes the invisiblecastle.com's online dice-roller. In addition to being able to specify the number and type of dice, as was the case in the 'roll' command, this allows you to also dictate the number of independant sets of dice to be rolled, plus make use of several options that invisiblecastle supports. One such is the ability to roll a certain number of dice, and take only the results of the highest dice. For example: -dice 4d6.takeHighest(3) would return a total of the three highest dice. For a complete list of options, see the bottom of http://invisiblecastle.com/rolldice.py. As for the parameters, each parameter is optional. By default, the values are: -name test -sets 1 -dice 1d20 Should you leave out any of these parameters, rolladv will assume you want the default. This is primarily for the -name portion. I wanted to give users the option to put in their name, but didn't want to return any errors should they not want to.