mirror of
https://github.com/pragma-/pbot.git
synced 2024-11-22 11:59:43 +01:00
doc/Factoids.md: document pick_unique(x)
This commit is contained in:
parent
6d5f69c426
commit
243575cc5a
@ -398,6 +398,7 @@ Modifier | Description
|
|||||||
`:index(n)` | Selects the `n`th element from the `$variable` list.
|
`:index(n)` | Selects the `n`th element from the `$variable` list.
|
||||||
`:pick(x)` | Selects `x` count of random elements.
|
`:pick(x)` | Selects `x` count of random elements.
|
||||||
`:pick(x,y)` | Selects between `x` and `y`, inclusive, count of random elements. `x` may be `0` to occasionally pick no value. In this case the `$variable` and any leading whitespace will be stripped.
|
`:pick(x,y)` | Selects between `x` and `y`, inclusive, count of random elements. `x` may be `0` to occasionally pick no value. In this case the `$variable` and any leading whitespace will be stripped.
|
||||||
|
`:pick_unique(x)` | Selects `x` count of random elements without any repeated selections.
|
||||||
`:pick_unique(x,y)` | Selects between `x` and `y`, inclusive, count of random elements without any repeated selections. `x` may be `0` to occasionally pick no value. In this case the `$variable` and any leading whitespace will be stripped.
|
`:pick_unique(x,y)` | Selects between `x` and `y`, inclusive, count of random elements without any repeated selections. `x` may be `0` to occasionally pick no value. In this case the `$variable` and any leading whitespace will be stripped.
|
||||||
|
|
||||||
Text modifiers alter the selected values.
|
Text modifiers alter the selected values.
|
||||||
|
Loading…
Reference in New Issue
Block a user