-
Notifications
You must be signed in to change notification settings - Fork 19
cmd_rand
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
这是一个WIKI百科页面,任何人都可以编辑, 了解详情 | 上传图片
Download Paracraft | ParacraftSDK | copyright by tatfook 2016 | Join Us