in reply to random number with range

Assuming you want an integer from 50 to 200 inclusive:

int (rand 151) + 50
Polonius