Finally getting back to my bot after a long break due to pressures of work, and it seems like I’ve forgotten so much, because I feel like I should be able to solve this myself.
Bot: How tall are you?
User: I’m 5 11
The above works, but…
Bot: How tall are you?
User: I’m 5’ 11”
This makes the bot think the user is vertically challenged - the first quote means the inch value never gets picked up.
Here’s the line of code:
a: ( _~number{"'"} _~number * ) $userheight = ^compute (^compute( _0 * 12 ) + _1 )
Any ideas what I’m doing wrong?