Clamp
From GECK
A function added by the JohnnyGuitar NVSE Plugin.
Description
Clamps the value to a specified range.
Syntax
(float) Clamp value:float min:float max:float
Example
set fVal to Clamp 5 10 20 // sets fVal to 10