I am running low on bricks anyways.
"Bug" Report
To figure out the value you want to set, I'd recommend that you set the choice in the GUI, then check the value for the oceanDestination property.
CLI said:> prefref oceanDestination
oceanDestination (user, now 'manual', default manual)
To figure out the value you want to set, I'd recommend that you set the choice in the GUI, then check the value for the oceanDestination property.
CLI said:> prefref oceanDestination
oceanDestination (user, now 'manual', default manual)
- Won't send a bricking message unless you're still sleeping on a rock.
/em waves to stannius, "This one's for you!"
I'd say "how many pork gems is to be sold", probably, but I guess it could just as easily be "how many pork gems do I want left".
So if you force it to check, it can convert to an int automatically... just takes comparing to_int(to_boolean(value)) with to_int(value) if to_int(value) < 2. Since...> ash import <zlib.ash> normalized(vars["eatdrink_accordionGet"], "int")
The string "true" is not an integer; returning 0 (zlib.ash, line 65)
Returned: 0
> ash import <zlib.ash> to_int(vars["eatdrink_accordionGet"])
The string "true" is not an integer; returning 0 ()
Returned: 0
> ash import <zlib.ash> to_int(to_boolean(vars["eatdrink_accordionGet"]))
Returned: 1
Or, y'know, you could just tell people to set it again if they don't want the default. That works too.> ash to_int(to_boolean(1))
Returned: 1
> ash to_int(to_boolean(0))
Returned: 0
> ash to_boolean(1)
Returned: true
> ash to_boolean(0)
Returned: false
> ash to_boolean(2)
Returned: true
> ash to_int(to_boolean(2))
Returned: 1