67510, sorry had too much free time I guess, the mirc script below will save you time though, even if it does take close to a minute.
alias weird.thing {
set %repeats 0
set %start.from 0
while (%start.from <= 100000) {
echo -a progress %start.from
if ($count(%start.from,0) >= 2) { inc %repeats | goto end }
if ($count(%start.from,1) >= 2) { inc %repeats | goto end }
if ($count(%start.from,2) >= 2) { inc %repeats | goto end }
if ($count(%start.from,3) >= 2) { inc %repeats | goto end }
if ($count(%start.from,4) >= 2) { inc %repeats | goto end }
if ($count(%start.from,5) >= 2) { inc %repeats | goto end }
if ($count(%start.from,6) >= 2) { inc %repeats | goto end }
if ($count(%start.from,7) >= 2) { inc %repeats | goto end }
if ($count(%start.from,8) >= 2) { inc %repeats | goto end }
if ($count(%start.from,9) >= 2) { inc %repeats | goto end }
:end
inc %start.from
}
}