Your on the right track. it thoses little < > signs that make the magic work,(taken me years to learn the right way round to place them.)
Ok, so how do you use them your asking? well like this.
You said you wanted this range of numbers,
RANGE
12-28
122-350
400-1500
So you would write.
If A>12 and A<28 then A=A+ A + RND(12)
Which reads, if a is gerater than 12 and a is less than 28 then let a=a plus random number up to 12.
Some times you end up putting a -1 on the end
If A>12 and A<28 then A=A+ A + RND(12)-1
hope this helps.
In Space No One can Hear You Scream! (When your comm Line is cut?)