O hai, I made dis for you.
First of all you need recent KoLmafia snapshot (at least rev5719). This script is a copy-paste of Disco Combos script. Unfortunately, I can remember where I downloaded it, but I'd like to thank it's author.
I can't test it myself because I'm in BadMoon, but at...