I wish if there would be a command in which you give 2 numbers and it randomly picks one.
I know there is (Pick Random ___ to ___).
But it should be (Pick Random ___ or ___).
Offline
You can do this:
add [number 1] to [numbers v] add [number 2] to [numbers v] set [random v] to (pick random [1] to [2]) if <(random) = [1]> set [random v] to (item [1 v] of [numbers v]) else set [random v] to (item [2 v] of [numbers v])
Last edited by Prestige (2012-12-10 12:01:23)
Offline
Prestige wrote:
You can do this:
add [number 1] to [numbers v] add [number 2] to [numbers v] set [random v] to (item (pick random (1) to (2)) of [numbers v])
Simplified.
Edit: Simplified even more.
Last edited by ErnieParke (2012-12-10 16:29:36)
Offline