How to make 10 random numbers whithout reapeating?

Hi, what's the easiest way to do that? Is it only make compare whith each other?
Like this:
If game.random1=game.random2 and game.random1=game.random3 and game.random1=game.random4................
then change atribute game.random1 to random(1.10)????????
Like this:
If game.random1=game.random2 and game.random1=game.random3 and game.random1=game.random4................
then change atribute game.random1 to random(1.10)????????
Comments
Place all ten actors (from 1 to 10) in the scene.
I don't charge.
: P