# Random variables \[renamed\]

**URL:** <https://forum.kirupa.com/t/random-variables-renamed/200018>\
**Category:** flash\
**Created:** [September 8, 2006, 12:30am UTC](https://forum.kirupa.com/t/random-variables-renamed/200018 "2006-09-08T00:30:26Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Awesome\_the](https://avatars.discourse-cdn.com/v4/letter/a/8e7dd6/32.png) [@Awesome\_the](https://forum.kirupa.com/u/Awesome_the)\
**Post date:** [September 8, 2006, 12:30am UTC](https://forum.kirupa.com/t/random-variables-renamed/200018/1 "2006-09-08T00:30:26Z")

</div>

I’ve been working on a deal or no deal game (my first game) and I’m stuck. I just need a script to make 22 variables that are randomly equal to numbers 1 - 22, so I get a result like this:

box01 = side09;  
box02 = side12;  
box03 = side19;  
…  
…  
box22 = side04;

thanks

EDIT: I should probably clarify that all 22 numbers need to be different.
