It looks like what you're setting up there is an expression command. This would be evaluated on everyframe, as that's the nature of an expression. If you're just wanting to do this once, randomly, you should just use the move command. You could do it as follows:
move rand 1 100 rand 1 100rand 1 100 nurbsSphere1;
That will give you a random x y and z position. Or, you could simply assing a single random result to a variable and and use taht for all x y and z coordinates. This would result in, say 23,23,23 as a position.
The ` marks tell Maya to execute what is in between them, and return the result... so if I were to say:
int $randNumber = rand 1 100;
Then $randNumber would be an integer between 1 and 100. Then I could say:
move $randNumber $randNumber $randNumber nurbSphere1;
and it would move to that location. In the first example, I just didn't feel like making it a separate varialble. Make sense?