There's some old scripts floating about by Einzelkaempfer I think.
I use a more modern solution for option sliders, but unfortunately I never shared a tutorial on how I sort them out as I usually end up sorting them out for other people when they ask me to write a config.ini script for them. Sorry.