Are the skills for a given weapon always learned in the same order?
KoLmafia could easily "learn" skills when it sees "New Special Move Unlocked". It could have, for example, a setting like "ballSkillsKnown" which starts at 0 and is set to 1, 2, or 3 when you learn a skill. A consult script could look at that, if you have the dodgeball equipped, and decide if it needs to stasis criticals and attempt to learn more skills. Or, it could look at that and decide to use one of the skills you already know. It would have to know that if you have 2 ball skills, you have "Ball X" and "Ball Y" - unless KoLmafia made that known to it via have_skill(), say.
I don't use consult scripts. I use the Relay Browser and KoLmafia's stationary buttons, which, due to slyz's great feature a while back, automatically update to include item-provided skills, based on what's in the skill dropdown. Therefore, I confidently expect that as I learn Ball skills, new buttons will automatically appear for me when I have a dodgeball equipped. I'll find out as early as Monday.
I'd like to hear what Winterbay says he needs. Thanks.