Skip to content
LiXizhi edited this page Jan 23, 2016 · 1 revision

command: /rand

quick ref:

/rand [from to] [-f]

description:

return a random number between from and to. default to 0,1
@param [-f]: if specified, it means a floating point output. otherwise if from to is specified, it is an integer
example:
/rand    : random float between [0,1]
/rand  1,3  : random int 1,2,3
Clone this wiki locally