Basically what i'm trying to do is have a bar that shows my battery, from 0-100%
on its own this works fine, but in trying to make it change colour depending on how much battery you have left - so red if its lower than 20%, green if its full, or blue (default) if its anywhere between. this is my code so far:
You are almost there, good work. The only problem is that you have some conflicts in your Substitute option. You need to remember that the substitutions are done left to right, one at a time, and iterative. So the second substitute will replace things in the string "after" it has had the first substitute applied, and so on.
Thank you so much! judging by your success on this and every other problem you've solved, you must be some sort of super genius! (i'm hoping the Wile E Coyote reference isn't lost on you...) ;)