Difference between revisions of "Script:RollStats"
From Roll20 Wiki
m (Apply formatting to options referenced within descriptions) |
(Update for v0.2) |
||
Line 2: | Line 2: | ||
|name=RollStats | |name=RollStats | ||
|author={{user profile|503018|manveti}} | |author={{user profile|503018|manveti}} | ||
− | |version=0. | + | |version=0.2 |
− | |lastmodified=2015- | + | |lastmodified=2015-09-29}} |
'''RollStats''' tracks roll statistics and displays them in various formats. Rolls are tracked for each player, for each die size, both for the current session (since the API sandbox was started) and for all time. | '''RollStats''' tracks roll statistics and displays them in various formats. Rolls are tracked for each player, for each die size, both for the current session (since the API sandbox was started) and for all time. | ||
Line 36: | Line 36: | ||
=== Changelog === | === Changelog === | ||
+ | {{changelog version|0.2|2015-09-29|* Handle malformed roll nodes better}} | ||
{{changelog version|0.1|2015-05-12|* Initial release}} | {{changelog version|0.1|2015-05-12|* Initial release}} |
Revision as of 02:53, 30 September 2015
Version: 0.2
Last Modified: 2015-09-29
Code: RollStats
Dependencies: None
Conflicts: None
RollStats tracks roll statistics and displays them in various formats. Rolls are tracked for each player, for each die size, both for the current session (since the API sandbox was started) and for all time.
It is recommended that this script be used in conjunction with the CommandShell module, which will improve output formatting and command discovery.
Syntax
!rollstats [options]
Formally:
S
→ rollstatsoptions
options
→ ε
options
→ string
options
→options
string
Parameter | Values |
---|---|
options | The !rollstats command accepts the following options:
|
The default mode of operation shows a high-level summary (roll count, mean value, and expected value for each die size rolled) of all the rolls made by the player who executed the command.
Changelog
v0.2 (2015-09-29)
- Handle malformed roll nodes better
v0.1 (2015-05-12)
- Initial release