Date: 2016/08/28 11:31:09 UTC-07:00
Type: Denizen Script
# This is what i currently have.
- if ( %1lx% >= %2lx% ) && ( %1lx% <= %2hx% ) {
- define flx '%1lx%'
}
else {
- define flx '%2lx%'
}
# I'm wondering if there's a more efficient way to do it...
- if <def[1lx].max[%2lx%]> == <def[1lx].min[%2hx%]> {
- define flx '%1lx%'
}
else {
- define flx '%2lx%'
}
# Or even like this since 2lx should always be greater than 2hx
- define flx '<def[1lx].max[%2lx%].min[<def[1lx].min[%2hx%]>]>'