can you help me to coding this ?

hello  can yo help me  to fix this code 

local function rotation () if cart.rotation == betwen 100 up to 190 -----how to coding this one then cart:reset() end  

[lua]

local function rotation ()

if cart.rotation > 99 and cart.rotation < 191 then

    cart:reset()

end

[/lua]

oh thank you

[lua]

local function rotation ()

if cart.rotation > 99 and cart.rotation < 191 then

    cart:reset()

end

[/lua]

oh thank you