If you have it working with the sliders, how would you accomplish it? Do you put the code within Time Remapping or in the Slider?
n = effect("frames skipped")("Slider");
m = effect("frame repeat")("Slider");
f = timeToFrames();
p = Math.floor(f/m);
framesToTime(p*n);