Let me start by pointing out the core of this script is not new, its really just a new feature added to an old script many including myself have found incredibly useful over the years, so many thanks to the original writers.
[image: i.ibb.co][image: i.ibb.co]
This feature is probably not that useful to most, but those who follow a non-standard ratio (not Baldr's or Hank's) can now use it to set targets. The interface is fairly self-explanatory, all previous functionality is still operational and untouched, select Custom Ratios for the new feature, move the sliders or dial in the required percentages, it will remember them for you. The target values will be red if under, orange if over, and green if within 1% of the target ratio. It will notify about gym locks/unlocks, those will be green if unlocked, red if locked, and will only appear when you are close to the threshold. The script is functional on desktop and mobile https://greasyfork.org/en/scripts/562625-gym-ratio-tracker if you need the link to fetch for PDA, use this one here.
Please note: if you have Custom Gym Ratios script or any variant of it, you may need to turn it off or remove it for this script to work given they are essentially the same script.
I'm not going to lie, its not the prettiest piece of code I've ever written, but it works, does it's job and is useful to me. Hopefully it is useful to others, have fun.