Restricted Number

by DivineTraveller
An easy way to keep a value between a min and a max. [More]
To download this library for your Linux/Mac installation, enter this on your command line:

DreamDownload byond://DivineTraveller.RestrictedNumber##version=1

Emulator users, in the BYOND pager go to File | Open Location and enter this URL:


Version First
Date added: Jul 16 2011
Last updated: Jul 17 2011
2 fans
Getting annoyed constantly doing if(hp>maxhp) hp=maxhp?
Want an easy solution?
Then give this library a test drive!

If you have any suggestions or bug reports, please leave them on my forum, or leave a comment here.