"Timothy Johnson" <[EMAIL PROTECTED]> wrote in message C0FD5BECE2F0C84EAA97D7300A500D50025811D3@SMILEY">news:C0FD5BECE2F0C84EAA97D7300A500D50025811D3@SMILEY... > > The return value of rand() is a random number between 0 and the optional > argument (1 by default). > > In this case there are 6 elements in the array, so we want a number between > 0 and 5. So try this variation on your code: > > > @tea = ("Meba", "Shaun", "Mark", "Jason", "Rick", "Dan"); > > $get = int(rand(6)); <snip code>
that worked - and does seem to be completely random. I worked this into my existing script and it does the job. thankyou. now I want to build upon it - give it some bells and whistles *muhaha* I am becoming a monster.......lol Wytch -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]