Darn... Sorry!
urange is an alias that constraints a variable in a range of values.
alias urange { if $$1 > $$2 { return $$1 } | if $$2 > $$3 { return $$3 } | return $$2 }
It was in another script file cause I use it here and there.
Edit: echo -c is cool! I hadn't noticed it I admit...