Name: Anonymous 2011-02-19 9:42
I want to write a bot that will check dubs all day, but can't come with an algorithm - how can you calculate that the next post will be doubles?
parts = line.split('<>')
pc = int(parts[4])
if pc < 20 or pc > 999: continue
if pc % 111 == 110:
tripz.append((parts[3], parts[4]))
break
if (pc % 100 % 11 == 10 or pc % 100 == 99):
dubz.append((parts[3], parts[4]))
sub is-dubz($n) { ?$n % 100 %% 11 }
post_number += 1
post_str = str(post_number)
if post_str[-1] == post_str[-2]:
print "Check 'em"
if (dub)
step++;
isNextPostDubz = (==1) . length . group . show . (+1)