unprompted/docs/shortcodes/random.md

355 B

Returns a random integer between 0 and the given integer, e.g. [random 2] will return 0, 1, or 2.

You can specify the lower and upper boundaries of the range with _min and _max, e.g. [random _min=5 _max=10].

If you pass _float into this shortcode, it will support decimal numbers instead of integers.

[set restore_pic][random 1][/set]