RandInt-Getter

get a stochastic integer in range

此脚本不应直接安装,它是一个供其他脚本使用的外部库。如果您需要使用该库,请在脚本元属性加入:// @require https://update.cn-greasyfork.org/scripts/430439/1074311/RandInt-Getter.js

作者
CosilC
版本
0.1
创建于
2021-08-07
更新于
2022-07-26
大小
1.4 KB
许可证
GPLv3

description

get a stochastic integer in range

usage

window.getRandInt(exp);

input a string exp like [|( -* \d+ , -* \d+ )|]

returns

a stochastic integer with type number in range