How stablish a variable between two numbers?

I use a rand command , and I want to do this


*rand style 1 1000
*page_break
*if style < 300
    text
*elseif (style >300 and <600)

I try several times no avail always error the br its no code its my mobile

*elseif ((style > 300) and (style < 600)) - Should work.

thanks I thought I couldn’t use several times a variable in a code line

You can but you have to beware of concatenation. Look it up on the wiki for a better grasp of the topic.